[librsvg: 5/8] parse_input() does not need to be public



commit 603fc49d3cdeae068c94e6ba86b386a56c83730d
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri May 3 13:57:22 2019 -0500

    parse_input() does not need to be public

 rsvg_internals/src/properties.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/properties.rs b/rsvg_internals/src/properties.rs
index d8d0dbd3..fc78fd78 100644
--- a/rsvg_internals/src/properties.rs
+++ b/rsvg_internals/src/properties.rs
@@ -676,7 +676,7 @@ impl<'i> AtRuleParser<'i> for DeclParser {
 }
 
 // Parses the value for the type `T` of the property out of the Parser, including `inherit` values.
-pub fn parse_input<T>(input: &mut Parser) -> Result<SpecifiedValue<T>, <T as Parse>::Err>
+fn parse_input<T>(input: &mut Parser) -> Result<SpecifiedValue<T>, <T as Parse>::Err>
 where
     T: Property<ComputedValues> + Clone + Default + Parse,
 {


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