[librsvg/fix-clippy-warnings: 1/2] Remove redundant field name in struct initialization
- From: Sven Neumann <sneumann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/fix-clippy-warnings: 1/2] Remove redundant field name in struct initialization
- Date: Thu, 8 Oct 2020 06:37:29 +0000 (UTC)
commit 5b1f3cfceaab28bd82265d1cf75b8d46186e1289
Author: Sven Neumann <sven svenfoo org>
Date: Thu Oct 8 08:35:44 2020 +0200
Remove redundant field name in struct initialization
rsvg_internals/src/handle.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/handle.rs b/rsvg_internals/src/handle.rs
index c1a8fa5c..901e5bd9 100644
--- a/rsvg_internals/src/handle.rs
+++ b/rsvg_internals/src/handle.rs
@@ -65,7 +65,7 @@ impl LoadOptions {
url_resolver.base_url = Some((**base_url).clone());
LoadOptions {
- url_resolver: url_resolver,
+ url_resolver,
unlimited_size: self.unlimited_size,
keep_image_data: self.keep_image_data,
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]