about summary refs log tree commit diff
path: root/src/handlers.rs
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-11T21·34+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-11T21·34+0200
commita9917d54a82c3ff0dc35b412a85093028d340902 (patch)
treeaf2a0567b103497f7f090da4a0535427d68471ab /src/handlers.rs
parentb862e3dc7913f103c9ad6c7a45f180013402b9b7 (diff)
chore(handlers): Remove unused code
Diffstat (limited to 'src/handlers.rs')
-rw-r--r--src/handlers.rs8
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() }))