diff options
| author | Fuwn <[email protected]> | 2026-01-21 09:03:05 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-21 09:03:05 +0000 |
| commit | 43fb2c613448589e0bac61996f38653cbefebd45 (patch) | |
| tree | 8439711dcdca6227672a24538ee34fc0064e1c1a /rossweisse/src/implementations/route.rs | |
| parent | perf(router): Reduce per-connection overhead with shared RequestHandler (diff) | |
| download | windmark-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.rs | 2 |
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() } |