Make clippy happy

This commit is contained in:
Clément Renault
2023-01-17 18:01:26 +01:00
parent 2b1f6a7f11
commit 1b78231e18
19 changed files with 115 additions and 139 deletions

View File

@ -177,11 +177,10 @@ mod tests {
|facet, count, _| {
let facet = OrderedF64Codec::bytes_decode(facet).unwrap();
if nbr_facets == 100 {
return Ok(ControlFlow::Break(()));
Ok(ControlFlow::Break(()))
} else {
nbr_facets += 1;
results.push_str(&format!("{facet}: {count}\n"));
Ok(ControlFlow::Continue(()))
}
},