No need to clone data when setting
This commit is contained in:
parent
9e50db40d8
commit
811064bb05
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ impl Value {
|
|||
},
|
||||
// No more parts so set the value
|
||||
None => {
|
||||
*self = val.clone();
|
||||
*self = val;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue