mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
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:
parent
af1aa2991e
commit
2e3b00e38e
24 changed files with 68 additions and 45 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue