[librsvg: 1/7] IRI.parse: don't expect_exhausted
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/7] IRI.parse: don't expect_exhausted
- Date: Fri, 4 Sep 2020 03:23:42 +0000 (UTC)
commit 97020fe4c0d53656d6d76ff69138e40f16f01a0d
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Sep 3 20:26:16 2020 -0500
IRI.parse: don't expect_exhausted
rsvg_internals/src/iri.rs | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/rsvg_internals/src/iri.rs b/rsvg_internals/src/iri.rs
index 16166419..cb1cb76f 100644
--- a/rsvg_internals/src/iri.rs
+++ b/rsvg_internals/src/iri.rs
@@ -45,7 +45,6 @@ impl Parse for IRI {
let loc = parser.current_source_location();
let url = parser.expect_url()?;
- parser.expect_exhausted()?;
let href =
Href::parse(&url).map_err(|e| loc.new_custom_error(ValueErrorKind::from(e)))?;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]