[librsvg: 14/51] NodeError: remove unused method value_error()



commit 61d5fed94ad11fef6b17ba29d3973b091d5e4657
Author: Federico Mena Quintero <federico gnome org>
Date:   Tue Dec 17 10:54:18 2019 -0600

    NodeError: remove unused method value_error()

 rsvg_internals/src/error.rs | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/rsvg_internals/src/error.rs b/rsvg_internals/src/error.rs
index 52dad80e..c423737c 100644
--- a/rsvg_internals/src/error.rs
+++ b/rsvg_internals/src/error.rs
@@ -72,13 +72,6 @@ impl NodeError {
             err: ValueErrorKind::Parse(error.to_string()),
         }
     }
-
-    pub fn value_error(attr: QualName, description: &str) -> NodeError {
-        NodeError {
-            attr,
-            err: ValueErrorKind::Value(description.to_string()),
-        }
-    }
 }
 
 impl error::Error for NodeError {


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