aboutsummaryrefslogtreecommitdiff
path: root/rossweisse/src/implementations/route.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-21 09:03:05 +0000
committerFuwn <[email protected]>2026-01-21 09:03:05 +0000
commit43fb2c613448589e0bac61996f38653cbefebd45 (patch)
tree8439711dcdca6227672a24538ee34fc0064e1c1a /rossweisse/src/implementations/route.rs
parentperf(router): Reduce per-connection overhead with shared RequestHandler (diff)
downloadwindmark-43fb2c613448589e0bac61996f38653cbefebd45.tar.xz
windmark-43fb2c613448589e0bac61996f38653cbefebd45.zip
fix(rossweisse): Fix all clippy pedantic and nursery lint errors
Diffstat (limited to 'rossweisse/src/implementations/route.rs')
-rw-r--r--rossweisse/src/implementations/route.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rossweisse/src/implementations/route.rs b/rossweisse/src/implementations/route.rs
index d6e2356..cc7c4cd 100644
--- a/rossweisse/src/implementations/route.rs
+++ b/rossweisse/src/implementations/route.rs
@@ -17,6 +17,6 @@
use proc_macro::TokenStream;
-pub fn route(_arguments: TokenStream, item: syn::ItemFn) -> TokenStream {
+pub fn route(_arguments: TokenStream, item: &syn::ItemFn) -> TokenStream {
quote::quote! { #item }.into()
}