mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-06-25 00:37:14 +02:00
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user