mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 23:36:30 +00:00
commit
6378c2a81f
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
|
// case the call to `to_mut()` returns a reference to the same data as
|
||||||
// before.
|
// before.
|
||||||
let slice = vec![-1, 0, 1];
|
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) {
|
match abs_all(&mut input) {
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue