From 0ce41c0f2c4fdc226efb603995e8bb4874f0ac92 Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sun, 13 Nov 2016 18:54:49 -0800 Subject: [PATCH] Remove stale comments. --- examples/todo/src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/todo/src/main.rs b/examples/todo/src/main.rs index 3d3444fd..93a84b15 100644 --- a/examples/todo/src/main.rs +++ b/examples/todo/src/main.rs @@ -42,7 +42,6 @@ fn new(todo_form: Form) -> Flash { } } -// Should likely do something to simulate PUT. #[put("/")] fn toggle(id: i32) -> Result { if Task::toggle_with_id(id) { @@ -52,7 +51,6 @@ fn toggle(id: i32) -> Result { } } -// Should likely do something to simulate DELETE. #[delete("/")] fn delete(id: i32) -> Result, Template> { if Task::delete_with_id(id) {