Update boxed_local expect attribute location

This commit is contained in:
xFrednet
2022-06-28 12:38:52 +02:00
parent 3a31ef7456
commit d11618e6fa
+1 -2
View File
@@ -204,7 +204,6 @@ fn foo(x: Box<u32>) {}
}
}
#[expect(clippy::boxed_local)]
fn check_expect(x: Box<A>) {
fn check_expect(#[expect(clippy::boxed_local)] x: Box<A>) {
x.foo();
}