chore: Updated source to follow clippy suggestions.

This commit is contained in:
apogeeoak committed 2021-02-09 18:21:18 -05:00
1 parent b4a4138559
commit 2e84f34cf3
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
));