aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/windmark.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/windmark.rs b/examples/windmark.rs
index e7e0a5c..9daeb9b 100644
--- a/examples/windmark.rs
+++ b/examples/windmark.rs
@@ -98,7 +98,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
});
router.add_header(|_| "```\nART IS COOL\n```\nhi".to_string());
router.add_footer(|_| "Copyright 2022".to_string());
- router.add_footer(|context| {
+ router.add_footer(|context: RouteContext| {
format!("Another footer, but lower! (from {})", context.url.path())
});
router.mount(