[librsvg: 4/13] Allow "NonTSPseudoClass" for clippy - this is what the selectors crate uses




commit d117e17b84e366545935de4562d6a7293de8f0c9
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Apr 12 10:18:05 2021 -0500

    Allow "NonTSPseudoClass" for clippy - this is what the selectors crate uses

 src/css.rs | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/css.rs b/src/css.rs
index 2c98d648..4331087a 100644
--- a/src/css.rs
+++ b/src/css.rs
@@ -298,6 +298,7 @@ impl<'i> AtRuleParser<'i> for RuleParser {
 }
 
 /// Dummy type required by the SelectorImpl trait.
+#[allow(clippy::upper_case_acronyms)]
 #[derive(Clone, Debug, Eq, PartialEq)]
 pub struct NonTSPseudoClass;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]