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:
Austin Bonander 2020-07-27 13:09:24 -07:00 committed by Ryan Leckey
parent bd1d9f45f3
commit 4e00ee050d

View File

@ -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() {