diff options
Diffstat (limited to 'src/crates/cli')
-rw-r--r-- | src/crates/cli/src/estimate.rs | 2 | ||||
-rw-r--r-- | src/crates/cli/src/select.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/crates/cli/src/estimate.rs b/src/crates/cli/src/estimate.rs index d559b62..13af9a7 100644 --- a/src/crates/cli/src/estimate.rs +++ b/src/crates/cli/src/estimate.rs @@ -119,7 +119,7 @@ impl State { .collect(), )? .into_iter() - .map(|(name, results)| (name, once(("avg", results.avg)))), + .map(|(name, results)| (name, once(("avg", results)))), ); Ok(()) diff --git a/src/crates/cli/src/select.rs b/src/crates/cli/src/select.rs index d4efc2b..9785c75 100644 --- a/src/crates/cli/src/select.rs +++ b/src/crates/cli/src/select.rs @@ -92,7 +92,7 @@ impl State { for (assignment, benchmark_results) in assignments_results.iter() { let mut record = vec![assignment.to_string()]; for key in header.iter().skip(1) { - record.push(format!("{:?}", benchmark_results.get(*key).unwrap().avg)); + record.push(format!("{:?}", benchmark_results.get(*key).unwrap())); } builder.push_record(record); } |