1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 22:00:03 -04:00

enforce and fix a bunch of clippy issues

This commit is contained in:
Emil Ernerfeldt
2020-05-07 10:47:03 +02:00
parent 077cc3d8d1
commit 87e3aacf35
25 changed files with 90 additions and 67 deletions

View File

@@ -50,7 +50,7 @@ where
self.flush(now);
}
/// Mean time difference between values in this MovementTracker.
/// Mean time difference between values in this `MovementTracker`.
pub fn mean_time_interval(&self) -> Option<f32> {
if let (Some(first), Some(last)) = (self.values.front(), self.values.back()) {
let n = self.len();