aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 564a758..46f6c6e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -8,7 +8,8 @@
//! - The ability to run a perfectly deterministic simulation on different machine, as long as they
//! are compliant with the IEEE 754-2008 floating point standard.
-#![warn(missing_docs)]
+#![deny(bare_trait_objects)]
+// #![warn(missing_docs)] // TODO: re-enable this
#[cfg(all(feature = "dim2", feature = "f32"))]
pub extern crate parry2d as parry;
@@ -49,8 +50,8 @@ macro_rules! enable_flush_to_zero(
);
#[cfg(feature = "simd-is-enabled")]
-macro_rules! array(
- ($callback: expr; SIMD_WIDTH) => {
+macro_rules! gather(
+ ($callback: expr) => {
{
#[inline(always)]
#[allow(dead_code)]
@@ -122,7 +123,6 @@ macro_rules! try_ret {
// }
pub(crate) const INVALID_U32: u32 = u32::MAX;
-pub(crate) const INVALID_U64: u64 = u64::MAX;
pub(crate) const INVALID_USIZE: usize = INVALID_U32 as usize;
/// The string version of Rapier.