Making CastToAny more generic.

This commit is contained in:
Tom Alexander
2020-05-10 22:05:48 -04:00
parent 9baa669dea
commit 2fb7ca9db7
2 changed files with 1 additions and 7 deletions

View File

@@ -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
}