Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
SilenLoc committed May 2, 2023
1 parent b40424a commit 8b86c02
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/scoring/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
use std::{
ops::Div,
};
use std::ops::Div;

use egui::{plot::Plot, Ui};
use web_time::{Instant, Duration};
use web_time::{Duration, Instant};

use crate::settings::TFSetting;
use egui::plot::{Line, PlotPoints};
Expand Down Expand Up @@ -109,7 +107,6 @@ impl Time {
}
}


fn average(history: &Vec<f64>) -> f64 {
history.iter().sum::<f64>() / history.len() as f64
}

0 comments on commit 8b86c02

Please sign in to comment.