clippy fixes for focus change

This commit is contained in:
K Simmons 2022-08-10 16:49:17 -07:00
parent 8ba2f77148
commit 9aa3f2d777
3 changed files with 8 additions and 9 deletions

View file

@ -703,9 +703,9 @@ impl From<Box<dyn ItemHandle>> for AnyViewHandle {
}
}
impl Into<AnyViewHandle> for &Box<dyn ItemHandle> {
fn into(self) -> AnyViewHandle {
self.to_any()
impl From<&Box<dyn ItemHandle>> for AnyViewHandle {
fn from(val: &Box<dyn ItemHandle>) -> Self {
val.to_any()
}
}