[librsvg/librsvg-2.44] Fix error message
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.44] Fix error message
- Date: Fri, 21 Sep 2018 17:37:20 +0000 (UTC)
commit cf609aede564b3495095b6a8adf3fe99e694cd6f
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Sep 14 08:28:47 2018 -0500
Fix error message
rsvg_internals/src/parsers.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/parsers.rs b/rsvg_internals/src/parsers.rs
index 66958318..b54b56a8 100644
--- a/rsvg_internals/src/parsers.rs
+++ b/rsvg_internals/src/parsers.rs
@@ -65,7 +65,7 @@ impl Parse for String {
Ok(String::from(
parser
.expect_string()
- .map_err(|_| AttributeError::Parse(ParseError::new("expected number")))?
+ .map_err(|_| AttributeError::Parse(ParseError::new("expected string")))?
.as_ref(),
))
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]