We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3d9dcc commit 27f67e2Copy full SHA for 27f67e2
1 file changed
crates/rustapi-rs/tests/auto_route.rs
@@ -66,7 +66,8 @@ struct Pagination {
66
}
67
68
#[get("/query")]
69
-async fn query_handler(Query(_p): Query<Pagination>) -> &'static str {
+async fn query_handler(Query(p): Query<Pagination>) -> &'static str {
70
+ let _ = (&p.page, &p.page_size);
71
"ok"
72
73
0 commit comments