We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77d7a79 commit a73f2ffCopy full SHA for a73f2ff
src/cast/cast_ref.rs
@@ -54,7 +54,7 @@ use crate::{caster, CastFrom, Caster, CASTER_MAP};
54
/// ```
55
pub trait CastRef {
56
/// Casts a reference to this trait into that of type `T`.
57
- fn cast<'a, T: ?Sized + 'static>(&self) -> Option<&T>;
+ fn cast<T: ?Sized + 'static>(&self) -> Option<&T>;
58
59
/// Tests if this trait object can be cast into `T`.
60
fn impls<T: ?Sized + 'static>(&self) -> bool;
0 commit comments