[librsvg: 4/13] Allow "NonTSPseudoClass" for clippy - this is what the selectors crate uses
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 4/13] Allow "NonTSPseudoClass" for clippy - this is what the selectors crate uses
- Date: Mon, 12 Apr 2021 16:15:01 +0000 (UTC)
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]