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
commit 6378c2a81f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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