summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index bc1754e..55d542b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -104,7 +104,7 @@ async fn fetch(req: Request, env: Env, _ctx: Context) -> Result<Response> {
}
})
})
- .or_else_any_method("/*catchall", |_, _| {
+ .or_else_any_method("/*catchall" /* wtf is this syntax? */ , |_, _| {
Ok(bone("", "404 Not Found", html! {
p style="padding: 1vw" { "what?" }
})?.with_status(404))