[librsvg: 8/15] Remove unnecessary lifetime
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 8/15] Remove unnecessary lifetime
- Date: Tue, 9 Mar 2021 20:51:37 +0000 (UTC)
commit e639e24ce17f7e02282433684f112ad223ca0d90
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Mar 9 11:25:55 2021 -0600
Remove unnecessary lifetime
src/filters/mod.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/filters/mod.rs b/src/filters/mod.rs
index a2d4a762..ed36c727 100644
--- a/src/filters/mod.rs
+++ b/src/filters/mod.rs
@@ -136,7 +136,7 @@ impl Primitive {
/// Validates attributes and returns the `BoundsBuilder` for bounds computation.
#[inline]
- fn get_bounds<'a>(&self, ctx: &'a FilterContext) -> Result<BoundsBuilder, FilterError> {
+ fn get_bounds(&self, ctx: &FilterContext) -> Result<BoundsBuilder, FilterError> {
// With ObjectBoundingBox, only fractions and percents are allowed.
if ctx.primitive_units() == CoordUnits::ObjectBoundingBox {
check_units(self.x)?;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]