mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
fix(macros): resolve clippy lint warning
cc https://github.com/rust-lang/rust-clippy/issues/5849 Signed-off-by: Austin Bonander <austin@launchbadge.com>
This commit is contained in:
parent
bd1d9f45f3
commit
4e00ee050d
@ -29,7 +29,7 @@ pub fn quote_args<DB: DatabaseExt>(
|
||||
let arg_expr = input.arg_exprs.iter().cloned().map(strip_wildcard);
|
||||
|
||||
let arg_bindings = quote! {
|
||||
#(let ref #arg_name = #arg_expr;)*
|
||||
#(let #arg_name = &(#arg_expr);)*
|
||||
};
|
||||
|
||||
let args_check = match info.parameters() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user