diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-11T21·34+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-11T21·34+0200 |
commit | a9917d54a82c3ff0dc35b412a85093028d340902 (patch) | |
tree | af2a0567b103497f7f090da4a0535427d68471ab /src | |
parent | b862e3dc7913f103c9ad6c7a45f180013402b9b7 (diff) |
chore(handlers): Remove unused code
Diffstat (limited to 'src')
-rw-r--r-- | src/handlers.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/handlers.rs b/src/handlers.rs index 05b73a699196..71469deea7d5 100644 --- a/src/handlers.rs +++ b/src/handlers.rs @@ -32,14 +32,6 @@ pub struct AppState { pub renderer: Addr<Syn, Renderer>, } -// impl AppState { -// fn render_ok<M>(self, msg: M) -> ConverseResponse -// where M: Send + Message, Renderer: Handler<M> { -// self.renderer.send(msg); -// unimplemented!() -// } -// } - pub fn forum_index(state: State<AppState>) -> ConverseResponse { state.db.send(ListThreads) .and_then(move |res| state.renderer.send(IndexPage { threads: res.unwrap() })) |