Clarify clippy allow attribute rationale
This commit is contained in:
parent
055a654a3d
commit
104012d3bc
|
@ -10,7 +10,7 @@ struct Bar {
|
|||
bar: String,
|
||||
}
|
||||
|
||||
#[allow(clippy::disallowed_names)]
|
||||
#[allow(clippy::disallowed_names)] // `foo` is not allowed
|
||||
#[test]
|
||||
fn serialize_generics() {
|
||||
let foo = Foo {
|
||||
|
|
Loading…
Reference in New Issue