janitor: Fix some clippy warnings pre-release

Nothing that should be controversial, but the
`internal/compiler/builtin_macros.rs` could point to a thinko in the original
commit.
This commit is contained in:
Tobias Hunger 2024-05-06 10:23:01 +02:00 committed by Tobias Hunger
parent af1aa2991e
commit 2e3b00e38e
24 changed files with 68 additions and 45 deletions

View file

@ -1487,7 +1487,7 @@ impl BindingExpression {
/// Returns true if the other expression was taken
pub fn merge_with(&mut self, other: &Self) -> bool {
if self.animation.is_none() {
self.animation = other.animation.clone();
self.animation.clone_from(&other.animation);
}
let has_binding = self.has_binding();
self.two_way_bindings.extend_from_slice(&other.two_way_bindings);