diff --git a/examples/simulation.rs b/examples/simulation.rs index 8b9c864..c1c1ba7 100644 --- a/examples/simulation.rs +++ b/examples/simulation.rs @@ -666,6 +666,7 @@ fn main() -> Result<(), Box> { Ok(()) } +#[allow(clippy::too_many_arguments)] fn display_times_and_indexes( gyro: &[Timed>], compass: &[Timed>], @@ -688,7 +689,7 @@ fn display_times_and_indexes( &info, &Point2::new(0.0, 0.0), 32.0, - &font, + font, &Point3::new(1.0, 1.0, 1.0), ); @@ -698,7 +699,7 @@ fn display_times_and_indexes( &info, &Point2::new(0.0, 32.0), 32.0, - &font, + font, &Point3::new(1.0, 1.0, 1.0), ); @@ -708,7 +709,7 @@ fn display_times_and_indexes( &info, &Point2::new(0.0, 32.0 + 32.0), 32.0, - &font, + font, &Point3::new(1.0, 1.0, 1.0), ); @@ -721,7 +722,7 @@ fn display_times_and_indexes( &info, &Point2::new(0.0, 32.0 + 2.0 * 32.0), 32.0, - &font, + font, &Point3::new(1.0, 1.0, 1.0), ); @@ -731,7 +732,7 @@ fn display_times_and_indexes( &info, &Point2::new(0.0, 32.0 + 3.0 * 32.0), 32.0, - &font, + font, &Point3::new(1.0, 1.0, 1.0), ); } diff --git a/src/test_estimator.rs b/src/test_estimator.rs index f517765..d08fcc0 100644 --- a/src/test_estimator.rs +++ b/src/test_estimator.rs @@ -855,6 +855,7 @@ type OwnedObservation = RegularObservation< #[cfg(test)] #[cfg(feature = "std")] +#[allow(deprecated)] mod tests { use super::*;