Skip to content

Commit e6d6a32

Browse files
authored
Janitor: Removed non-neded clone (#9257)
1 parent 2642a71 commit e6d6a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/interpreter/dynamic_item_tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1723,7 +1723,7 @@ pub fn instantiate(
17231723
repeater.set_model_binding(move || {
17241724
let m = model_binding_closure();
17251725
if let Value::Model(m) = m {
1726-
m.clone()
1726+
m
17271727
} else {
17281728
ModelRc::new(crate::value_model::ValueModel::new(m))
17291729
}

0 commit comments

Comments
 (0)