mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-04 12:01:48 +02:00
clippy: evaluations crate
This commit is contained in:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user