aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2024-08-02 21:38:56 +0700
committerGitHub <noreply@github.com>2024-08-02 16:38:56 +0200
commit617428e98855d072acd9d332b9782b4159dadfd8 (patch)
treee9b7bf859e5c43dc9c629f529112cb3eadf44b4b /src
parent364b5b7c37c30af745ad77555d56b6c47ce7de8e (diff)
downloadrapier-617428e98855d072acd9d332b9782b4159dadfd8.tar.gz
rapier-617428e98855d072acd9d332b9782b4159dadfd8.tar.bz2
rapier-617428e98855d072acd9d332b9782b4159dadfd8.zip
Use workspace lints to control unexpected_cfgs. (#682)
By using `workspace.lints`, we can configure lints once for everything (and then inherit it into the various crates). The lint configuration for `unexpected_cfgs` works in 1.80+ and warns otherwise. Co-authored-by: Thierry Berger <contact@thierryberger.com>
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index cf2503d..8a78e88 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -15,7 +15,6 @@
#![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)]
-#![allow(unexpected_cfgs)] // This happens due to the dim2/dim3/f32/f64 cfg.
#[cfg(all(feature = "dim2", feature = "f32"))]
pub extern crate parry2d as parry;