1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-06-25 00:37:14 +02:00

Merge pull request #1620 from mkovaxx/fix_1611

Fix 1611
This commit is contained in:
liv
2023-09-04 13:51:57 +02:00
committed by GitHub

View File

@ -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
} }