mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-23 03:38:09 -05:00
add .to_mut() in test owned_mutation()
This commit is contained in:
parent
64035f766f
commit
720f33eee6
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ mod tests {
|
|||
// case the call to `to_mut()` returns a reference to the same data as
|
||||
// before.
|
||||
let slice = vec![-1, 0, 1];
|
||||
let mut input = Cow::from(slice);
|
||||
let mut input = Cow::from(slice).to_mut();
|
||||
match abs_all(&mut input) {
|
||||
// TODO
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue