[librsvg: 5/7] XmlState::build_document(): consume self
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 5/7] XmlState::build_document(): consume self
- Date: Fri, 23 Sep 2022 18:19:26 +0000 (UTC)
commit 673cbb87cb407241d5309eecbecf1b9ba55dc253
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Sep 23 11:47:48 2022 -0500
XmlState::build_document(): consume self
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/752>
src/xml/mod.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/xml/mod.rs b/src/xml/mod.rs
index b7de8aea1..deae17900 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> {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]