Skip to content

Commit a72ea77

Browse files
committed
Resolve extra_unused_lifetimes clippy lint
warning: this lifetime isn't used in the impl --> src/aserror.rs:46:6 | 46 | impl<'a, T: Error + 'a> Sealed for T {} | ^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes = note: `-W clippy::extra-unused-lifetimes` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::extra_unused_lifetimes)]`
1 parent 1b15d6e commit a72ea77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aserror.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ impl<'a> AsDynError<'a> for dyn Error + Send + Sync + UnwindSafe + 'a {
4343

4444
#[doc(hidden)]
4545
pub trait Sealed {}
46-
impl<'a, T: Error + 'a> Sealed for T {}
46+
impl<T: Error> Sealed for T {}
4747
impl<'a> Sealed for dyn Error + 'a {}
4848
impl<'a> Sealed for dyn Error + Send + 'a {}
4949
impl<'a> Sealed for dyn Error + Send + Sync + 'a {}

0 commit comments

Comments
 (0)