[librsvg: 22/51] Remove unused NodeError::parse_error
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 22/51] Remove unused NodeError::parse_error
- Date: Thu, 19 Dec 2019 01:49:52 +0000 (UTC)
commit e37ee52f61f655dcce074a66e295bd67f4984cbe
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Dec 17 11:05:16 2019 -0600
Remove unused NodeError::parse_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 c423737c..b407c0ec 100644
--- a/rsvg_internals/src/error.rs
+++ b/rsvg_internals/src/error.rs
@@ -65,13 +65,6 @@ impl NodeError {
pub fn new(attr: QualName, error: ValueErrorKind) -> NodeError {
NodeError { attr, err: error }
}
-
- pub fn parse_error(attr: QualName, error: &str) -> NodeError {
- NodeError {
- attr,
- err: ValueErrorKind::Parse(error.to_string()),
- }
- }
}
impl error::Error for NodeError {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]