[librsvg: 4/16] Remove impl Default for SpecifiedValue



commit 9c8b98687dc89458cc8e949985a533e22ecfde1c
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Mar 25 12:35:26 2020 -0600

    Remove impl Default for SpecifiedValue
    
    Now that all properties always carry their type within a
    ParsedProperty, we don't use those default values anymore.

 rsvg_internals/src/properties.rs | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/rsvg_internals/src/properties.rs b/rsvg_internals/src/properties.rs
index 3e060594..6bac0ef0 100644
--- a/rsvg_internals/src/properties.rs
+++ b/rsvg_internals/src/properties.rs
@@ -56,15 +56,6 @@ where
     }
 }
 
-impl<T> Default for SpecifiedValue<T>
-where
-    T: Property<ComputedValues> + Clone + Default,
-{
-    fn default() -> SpecifiedValue<T> {
-        SpecifiedValue::Unspecified
-    }
-}
-
 /// Embodies "which property is this" plus the property's value
 #[derive(Clone)]
 pub enum ParsedProperty {


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