diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-08-29 21:00:00 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-08-29 21:00:00 -0500 |
commit | 27744f151550e5e94fe947904eacf7e33ff9685f (patch) | |
tree | 42487481a042c2d3b7546f51149f06ea843ff77f | |
parent | 86c34e24e6ebc885d6b424b998e828fbf4c23d71 (diff) | |
download | librsvg-27744f151550e5e94fe947904eacf7e33ff9685f.tar.gz |
Remove superfluous references
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/738>
-rw-r--r-- | src/css.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |