No need to clone data when setting

This commit is contained in:
Tobie Morgan Hitchcock 2022-02-09 08:49:22 +00:00
parent 9e50db40d8
commit 811064bb05

View file

@ -81,7 +81,7 @@ impl Value {
}, },
// No more parts so set the value // No more parts so set the value
None => { None => {
*self = val.clone(); *self = val;
Ok(()) Ok(())
} }
} }