Skip to content

Commit 27f67e2

Browse files
committed
Update auto_route.rs
1 parent e3d9dcc commit 27f67e2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/rustapi-rs/tests/auto_route.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ struct Pagination {
6666
}
6767

6868
#[get("/query")]
69-
async fn query_handler(Query(_p): Query<Pagination>) -> &'static str {
69+
async fn query_handler(Query(p): Query<Pagination>) -> &'static str {
70+
let _ = (&p.page, &p.page_size);
7071
"ok"
7172
}
7273

0 commit comments

Comments
 (0)