feat: completed solutions
This commit is contained in:
@@ -39,7 +39,7 @@ mod tests {
|
||||
let mut input = Cow::from(&vec);
|
||||
abs_all(&mut input);
|
||||
// TODO: Replace `todo!()` with `Cow::Owned(_)` or `Cow::Borrowed(_)`.
|
||||
assert!(matches!(input, todo!()));
|
||||
assert!(matches!(input, Cow::Borrowed(_)));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -52,7 +52,7 @@ mod tests {
|
||||
let mut input = Cow::from(vec);
|
||||
abs_all(&mut input);
|
||||
// TODO: Replace `todo!()` with `Cow::Owned(_)` or `Cow::Borrowed(_)`.
|
||||
assert!(matches!(input, todo!()));
|
||||
assert!(matches!(input, Cow::Owned(_)));
|
||||
}
|
||||
|
||||
#[test]
|
||||
@@ -64,6 +64,6 @@ mod tests {
|
||||
let mut input = Cow::from(vec);
|
||||
abs_all(&mut input);
|
||||
// TODO: Replace `todo!()` with `Cow::Owned(_)` or `Cow::Borrowed(_)`.
|
||||
assert!(matches!(input, todo!()));
|
||||
assert!(matches!(input, Cow::Owned(_)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user