[librsvg: 16/17] Remove superfluous references




commit 27744f151550e5e94fe947904eacf7e33ff9685f
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Aug 29 21:00:00 2022 -0500

    Remove superfluous references
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>

 src/css.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/css.rs b/src/css.rs
index 9d81d7e5f..10ac8243b 100644
--- a/src/css.rs
+++ b/src/css.rs
@@ -823,7 +823,7 @@ impl Stylesheet {
         session: Session,
     ) -> Result<Self, LoadingError> {
         let mut stylesheet = Stylesheet::empty(origin);
-        stylesheet.load(&aurl, session)?;
+        stylesheet.load(aurl, session)?;
         Ok(stylesheet)
     }
 
@@ -874,7 +874,7 @@ impl Stylesheet {
 
     /// Parses a stylesheet referenced by an URL
     fn load(&mut self, aurl: &AllowedUrl, session: Session) -> Result<(), LoadingError> {
-        io::acquire_data(&aurl, None)
+        io::acquire_data(aurl, None)
             .map_err(LoadingError::from)
             .and_then(|data| {
                 let BinaryData {


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