diff options
Diffstat (limited to 'src/modules/search.rs')
| -rw-r--r-- | src/modules/search.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/search.rs b/src/modules/search.rs index bf0b7bb..28593e0 100644 --- a/src/modules/search.rs +++ b/src/modules/search.rs @@ -56,7 +56,7 @@ pub(super) fn module(router: &mut windmark::Router) { router, "/search", "A search engine for this Gemini capsule", - Box::new(|context| { + |context| { let mut response = String::from( "# Search\n\n=> /search?action=go Search!\n=> /random I'm Feeling \ Lucky", @@ -162,7 +162,7 @@ pub(super) fn module(router: &mut windmark::Router) { } crate::success!(response, context) - }), + }, ); } |