Making CastToAny more generic.
This commit is contained in:
@@ -48,7 +48,7 @@ impl<C: 'static + ContextElement + Clone> CloneIntoBoxedContextElement for C {
|
||||
}
|
||||
}
|
||||
|
||||
impl<C: 'static + ContextElement + PartialEq> CastToAny for C {
|
||||
impl<C: 'static + ContextElement> CastToAny for C {
|
||||
fn to_any(&self) -> &dyn Any {
|
||||
self
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user