remove redundant clones, use mul_add on f32s
This commit is contained in:
parent
bd438a8581
commit
1d6a43486e
12 changed files with 69 additions and 69 deletions
|
|
@ -156,7 +156,7 @@ pub fn resolve<Message>(
|
|||
_ => (),
|
||||
}
|
||||
|
||||
*node = node.clone().move_to(Point {
|
||||
node.move_to_mut(Point {
|
||||
x: leaf_layout.location.x,
|
||||
y: leaf_layout.location.y,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue