[librsvg] error.rs: Remove unused argument
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] error.rs: Remove unused argument
- Date: Thu, 16 Mar 2017 05:16:45 +0000 (UTC)
commit d2e4e1fde4debb6c5ed577322df7e218e906f916
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Mar 15 21:39:42 2017 -0600
error.rs: Remove unused argument
rust/src/error.rs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rust/src/error.rs b/rust/src/error.rs
index 4df39d7..f8fc632 100644
--- a/rust/src/error.rs
+++ b/rust/src/error.rs
@@ -37,7 +37,7 @@ impl NodeError {
impl error::Error for NodeError {
fn description (&self) -> &str {
match self.err {
- AttributeError::Parse (ref n) => &"parse error",
+ AttributeError::Parse (_) => &"parse error",
AttributeError::Value (_) => &"invalid attribute value"
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]