Fix clippy and enable clippy on CI

This commit is contained in:
Sébastien Crozet
2024-01-27 16:49:53 +01:00
committed by Sébastien Crozet
parent aef873f20e
commit da92e5c283
81 changed files with 420 additions and 468 deletions

View File

@@ -12,6 +12,9 @@
#![deny(bare_trait_objects)]
#![warn(missing_docs)] // FIXME: deny that
#![allow(clippy::too_many_arguments)]
#![allow(clippy::needless_range_loop)] // TODO: remove this? I find that in the math code using indices adds clarity.
#![allow(clippy::module_inception)]
#[cfg(all(feature = "dim2", feature = "f32"))]
pub extern crate parry2d as parry;