[librsvg: 2/7] Angle.parse: don't expect_exhausted




commit 9ab15b2124079e1fafd153278814c54664a755df
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Sep 3 20:31:45 2020 -0500

    Angle.parse: don't expect_exhausted

 rsvg_internals/src/angle.rs | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/rsvg_internals/src/angle.rs b/rsvg_internals/src/angle.rs
index c624db32..fcd65a5c 100644
--- a/rsvg_internals/src/angle.rs
+++ b/rsvg_internals/src/angle.rs
@@ -93,8 +93,6 @@ impl Parse for Angle {
             }
         };
 
-        parser.expect_exhausted()?;
-
         Ok(angle)
     }
 }


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