Skip to content

Commit a73f2ff

Browse files
committed
Remove the unused lifetime
1 parent 77d7a79 commit a73f2ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cast/cast_ref.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ use crate::{caster, CastFrom, Caster, CASTER_MAP};
5454
/// ```
5555
pub trait CastRef {
5656
/// Casts a reference to this trait into that of type `T`.
57-
fn cast<'a, T: ?Sized + 'static>(&self) -> Option<&T>;
57+
fn cast<T: ?Sized + 'static>(&self) -> Option<&T>;
5858

5959
/// Tests if this trait object can be cast into `T`.
6060
fn impls<T: ?Sized + 'static>(&self) -> bool;

0 commit comments

Comments
 (0)