From 104012d3bc8b79fb676f7a0a1fb1129c0c482f01 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 21 Nov 2022 20:51:06 -0800 Subject: [PATCH] Clarify clippy allow attribute rationale --- instant-xml/tests/generics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instant-xml/tests/generics.rs b/instant-xml/tests/generics.rs index 5664be4..b57c57d 100644 --- a/instant-xml/tests/generics.rs +++ b/instant-xml/tests/generics.rs @@ -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 {