Skip to content

Commit 914b67a

Browse files
committed
Silence a new clippy warning 'assigning the result of Clone::clone() may be inefficient'
1 parent db1a26f commit 914b67a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/grid/ntv2/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl Ntv2Grid {
8989
current_grid_id = grid_id.clone();
9090

9191
if let Some(children) = self.lookup_table.get(&current_grid_id) {
92-
queue = children.clone();
92+
queue.clone_from(children);
9393
} else {
9494
// If we get here it means the current_parent_id has no children and we've found the grid
9595
break;

0 commit comments

Comments
 (0)