File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ pub trait Coalesce {
47
47
/// This trait has a blanket implementation on any [Sized] type implementing [Coalesce].
48
48
pub trait CoalesceAny : Coalesce {
49
49
/// Merge `other` into `self`. Trait object is returned if merging was unsuccessful.
50
- fn coalesce_any < ' a > ( & mut self , other : Box < dyn Any + ' a > ) -> Option < Box < dyn Any > > ;
50
+ fn coalesce_any ( & mut self , other : Box < dyn Any > ) -> Option < Box < dyn Any > > ;
51
51
}
52
52
impl < T : Coalesce + ' static > CoalesceAny for T {
53
- fn coalesce_any < ' a > ( & mut self , other : Box < dyn Any + ' a > ) -> Option < Box < dyn Any > > {
53
+ fn coalesce_any ( & mut self , other : Box < dyn Any > ) -> Option < Box < dyn Any > > {
54
54
let other: Self = match other. downcast ( ) {
55
55
Ok ( downcasted) => * downcasted,
56
56
Err ( not_downcasted) => return Some ( not_downcasted) ,
You can’t perform that action at this time.
0 commit comments