diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-09-23 11:47:48 -0500 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-09-23 11:47:48 -0500 |
commit | 673cbb87cb407241d5309eecbecf1b9ba55dc253 (patch) | |
tree | 600ec788d65cb50509b5a756f07a38484cfeb84a | |
parent | 4110162131af3d865ea66bec454013bf5d54730a (diff) | |
download | librsvg-673cbb87cb407241d5309eecbecf1b9ba55dc253.tar.gz |
XmlState::build_document(): consume self
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/752>
-rw-r--r-- | src/xml/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/mod.rs b/src/xml/mod.rs index b7de8aea..deae1790 100644 --- a/src/xml/mod.rs +++ b/src/xml/mod.rs @@ -618,7 +618,7 @@ impl XmlState { } fn build_document( - &self, + self, stream: &gio::InputStream, cancellable: Option<&gio::Cancellable>, ) -> Result<Document, LoadingError> { |