about summary refs log tree commit diff
path: root/src/handlers.rs
diff options
context:
space:
mode:
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() }))