Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Aug 26, 2023
1 parent 7f50965 commit 8ca83ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions y-octo-utils/bin/bench_result_render.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(unused)]

use std::collections::HashMap;

fn process_duration(duration: &str) -> (f64, f64) {
Expand Down Expand Up @@ -29,6 +31,7 @@ fn convert_dur_to_seconds(dur: f64, units: &str) -> f64 {
dur * factors.get(units).unwrap_or(&1.0)
}

#[allow(dead_code)]
fn is_significant(changes_dur: f64, changes_err: f64, base_dur: f64, base_err: f64) -> bool {
if changes_dur < base_dur {
changes_dur + changes_err < base_dur || base_dur - base_err > changes_dur
Expand Down

0 comments on commit 8ca83ad

Please sign in to comment.