fix clippy

This commit is contained in:
Evan Almloff 2023-10-16 13:29:32 -05:00
parent 87dae6a41f
commit 6e9aa4dba1
2 changed files with 3 additions and 6 deletions

View file

@ -196,7 +196,6 @@ impl<T> Deref for CopyValue<T> {
);
// Cast the closure to a trait object.
let reference_to_trait_object = reference_to_closure as &Self::Target;
reference_to_trait_object
reference_to_closure as &Self::Target
}
}

View file

@ -298,8 +298,7 @@ impl<T> Deref for Signal<T> {
);
// Cast the closure to a trait object.
let reference_to_trait_object = reference_to_closure as &Self::Target;
reference_to_trait_object
reference_to_closure as &Self::Target
}
}
@ -423,7 +422,6 @@ impl<T> Deref for ReadOnlySignal<T> {
);
// Cast the closure to a trait object.
let reference_to_trait_object = reference_to_closure as &Self::Target;
reference_to_trait_object
reference_to_closure as &Self::Target
}
}