diff --git a/examples/comprehensive/tiny/src/lib.rs b/examples/comprehensive/tiny/src/lib.rs index 94a0926f7e..5d57269803 100644 --- a/examples/comprehensive/tiny/src/lib.rs +++ b/examples/comprehensive/tiny/src/lib.rs @@ -11,7 +11,7 @@ pub fn main() -> PerseusApp { } }) }) - .error_pages(|| ErrorPages::new(|cx, url, status, err, _| view! { cx + .error_pages(|| ErrorPages::new(|cx, url, status, err, _| view! { cx, p { (format!("An error with HTTP code {} occurred at '{}': '{}'.", status, url, err)) } })) }