clippy: evaluations crate

This commit is contained in:
Per Stark
2026-05-26 20:07:51 +02:00
parent 1bf93f0125
commit 82e0619850
16 changed files with 88 additions and 118 deletions
+3 -3
View File
@@ -576,13 +576,13 @@ fn validate_answers(
}
}
if !found_any {
if found_any {
Ok(matches.into_iter().collect())
} else {
Err(anyhow!(
"expected answer for question '{}' was not found in ingested content",
question.id
))
} else {
Ok(matches.into_iter().collect())
}
}