Clarify clippy allow attribute rationale

This commit is contained in:
Dirkjan Ochtman 2022-11-21 20:51:06 -08:00
parent 055a654a3d
commit 104012d3bc
1 changed files with 1 additions and 1 deletions

View File

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