[librsvg: 7/38] Remove superfluous conversion
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 7/38] Remove superfluous conversion
- Date: Tue, 29 Sep 2020 23:37:20 +0000 (UTC)
commit 9065534ec59ba6649bc4a5d0d06045e1a944591c
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Jun 19 19:02:15 2020 -0500
Remove superfluous conversion
rsvg_internals/src/structure.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rsvg_internals/src/structure.rs b/rsvg_internals/src/structure.rs
index 97b0cd5f..2ab459a6 100644
--- a/rsvg_internals/src/structure.rs
+++ b/rsvg_internals/src/structure.rs
@@ -144,8 +144,8 @@ impl Svg {
pub fn get_intrinsic_dimensions(&self) -> IntrinsicDimensions {
IntrinsicDimensions {
- width: self.w.map(Into::into),
- height: self.h.map(Into::into),
+ width: self.w,
+ height: self.h,
vbox: self.vbox,
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]