Skip to content

Commit e415c34

Browse files
committed
rust: macros: clean beta Clippy needless_borrow warnings
The warning is now in the `style` group. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent edd7ad5 commit e415c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/macros/module.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ pub fn module(ts: TokenStream) -> TokenStream {
430430
let (param_kernel_type, ops): (String, _) = match param_type {
431431
ParamType::Ident(ref param_type) => (
432432
param_type.to_string(),
433-
param_ops_path(&param_type).to_string(),
433+
param_ops_path(param_type).to_string(),
434434
),
435435
ParamType::Array {
436436
ref vals,

0 commit comments

Comments
 (0)