Skip to content

Commit

Permalink
Merge pull request #1620 from mkovaxx/fix_1611
Browse files Browse the repository at this point in the history
Fix 1611
  • Loading branch information
shadows-withal committed Sep 4, 2023
2 parents 45cadcf + 720f33e commit 6378c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/smart_pointers/cow1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 6378c2a

Please sign in to comment.