[librsvg: 5/13] Allow FontSize::XXSmall and the other "XX" variants for clippy




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

    Allow FontSize::XXSmall and the other "XX" variants for clippy

 src/font_props.rs | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/font_props.rs b/src/font_props.rs
index fe47861d..645a3db3 100644
--- a/src/font_props.rs
+++ b/src/font_props.rs
@@ -160,6 +160,7 @@ fn parse_font_spec_identifiers<'i>(parser: &mut Parser<'i, '_>) -> Result<Font,
 }
 
 // https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#propdef-font-size
+#[allow(clippy::upper_case_acronyms)]
 #[derive(Debug, Copy, Clone, PartialEq)]
 pub enum FontSize {
     Smaller,


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