[librsvg] bounds: remove unneeded into()
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] bounds: remove unneeded into()
- Date: Mon, 6 Jan 2020 10:28:44 +0000 (UTC)
commit ac15fb4a7024d120ed9ee52d831e3417747af4f7
Author: Paolo Borelli <pborelli gnome org>
Date: Mon Jan 6 11:26:42 2020 +0100
bounds: remove unneeded into()
rsvg_internals/src/filters/bounds.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rsvg_internals/src/filters/bounds.rs b/rsvg_internals/src/filters/bounds.rs
index 2c3e57b3..9433eaea 100644
--- a/rsvg_internals/src/filters/bounds.rs
+++ b/rsvg_internals/src/filters/bounds.rs
@@ -77,7 +77,7 @@ impl<'a> BoundsBuilder<'a> {
let effects_region = self.ctx.effects_region();
bbox.clip(&effects_region);
- bbox.rect.unwrap().into()
+ bbox.rect.unwrap()
}
/// Returns the final pixel bounds.
@@ -89,7 +89,7 @@ impl<'a> BoundsBuilder<'a> {
///
/// Used by feImage.
pub fn into_rect_without_clipping(self, draw_ctx: &mut DrawingCtx) -> Rect {
- self.apply_properties(draw_ctx).rect.unwrap().into()
+ self.apply_properties(draw_ctx).rect.unwrap()
}
/// Applies the filter primitive properties.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]