chore: Updated source to follow clippy suggestions.
This commit is contained in:
1 parent
b4a4138559
commit
2e84f34cf3
2 files changed
+2
-2
No files matched your search
@@ -131,7 +131,7 @@ fn all_exercises_require_confirmation() {
|
||||
file.read_to_string(&mut s).unwrap();
|
||||
s
|
||||
};
|
||||
source.matches("// I AM NOT DONE").next().expect(&format!(
|
||||
source.matches("// I AM NOT DONE").next().unwrap_or_else(|| panic!(
|
||||
"There should be an `I AM NOT DONE` annotation in {:?}",
|
||||
path
|
||||
));
|
||||
|
||||
Reference in new issue
Block a user