[librsvg: 12/15] Remove unnecessary lifetime
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 12/15] Remove unnecessary lifetime
- Date: Tue, 9 Mar 2021 20:51:37 +0000 (UTC)
commit 34bd5874406e12e1c1cc9cbe7c520d63fdef15a5
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Mar 9 12:01:44 2021 -0600
Remove unnecessary lifetime
src/filters/component_transfer.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/filters/component_transfer.rs b/src/filters/component_transfer.rs
index 07f8e16a..a80d3551 100644
--- a/src/filters/component_transfer.rs
+++ b/src/filters/component_transfer.rs
@@ -308,7 +308,7 @@ impl FilterRender for FeComponentTransfer {
)?;
#[inline]
- fn compute_func<F>(func: &F) -> impl Fn(u8, f64, f64) -> u8 + '_
+ fn compute_func<F>(func: &F) -> impl Fn(u8, f64, f64) -> u8
where
F: FeComponentTransferFunc,
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]