diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-02 04:22:30 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-02 04:22:30 +0800 |
| commit | 8128f2c94313b2e9b9d0b5c3350623f77bbb2521 (patch) | |
| tree | 9e542eeaaae148b8cccaa01608d75ed1fc463869 /mingling_macros/src/res_injection.rs | |
| parent | 3f24e5b6ead1e153408ae5e58ad34636fe614645 (diff) | |
chore: run cargo fmt and rearrange re-exports in minglingnext
Diffstat (limited to 'mingling_macros/src/res_injection.rs')
| -rw-r--r-- | mingling_macros/src/res_injection.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mingling_macros/src/res_injection.rs b/mingling_macros/src/res_injection.rs index f2952cc..09da889 100644 --- a/mingling_macros/src/res_injection.rs +++ b/mingling_macros/src/res_injection.rs @@ -160,10 +160,7 @@ pub(crate) fn generate_immut_resource_bindings<'a>( /// Generates a unique binding name for a mutable resource variable. fn mut_res_binding_name(var_name: &Ident) -> Ident { - syn::Ident::new( - &format!("__{}_binding", var_name), - var_name.span(), - ) + syn::Ident::new(&format!("__{}_binding", var_name), var_name.span()) } /// Wraps the function body in nested `__modify_res_and_return_route` closures for |
