mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Fix clippy warnings
This commit is contained in:
1 parent
623ce2d2d9
commit
ec4321392f
3 files changed
+3
-3
No files matched your search
@@ -86,7 +86,7 @@ fn determine_unit_from_results(results: &[BenchmarkResult]) -> Unit {
|
||||
|
||||
impl<T: MarkupExporter> Exporter for T {
|
||||
fn serialize(&self, results: &[BenchmarkResult], unit: Option<Unit>) -> Result<Vec<u8>> {
|
||||
let unit = unit.unwrap_or_else(|| determine_unit_from_results(&results));
|
||||
let unit = unit.unwrap_or_else(|| determine_unit_from_results(results));
|
||||
let entries = relative_speed::compute(results);
|
||||
if entries.is_none() {
|
||||
return Err(anyhow!(
|
||||
|
||||
Reference in new issue
Block a user