diff --git a/web/src/handler/types/params.rs b/web/src/handler/types/params.rs index 74c95ea99..38e41c8b6 100644 --- a/web/src/handler/types/params.rs +++ b/web/src/handler/types/params.rs @@ -59,7 +59,7 @@ impl<'a, 'r, C, B, T> FromRequest<'a, WebContext<'r, C, B>> for LazyParams<'a, T } #[derive(Debug)] -pub struct ParamsRef<'a>(&'a router::Params); +pub struct ParamsRef<'a>(pub &'a router::Params); impl Deref for ParamsRef<'_> { type Target = router::Params;