aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2024-07-18 14:44:48 +0700
committerGitHub <noreply@github.com>2024-07-18 09:44:48 +0200
commit00f59d2877faa1cc3d1931664ba691f5d9324243 (patch)
treec71be6b35960768048ec91302bf6912a0f28e874
parent6a295d3e8e372390174cc5b3e286631eb47495c1 (diff)
downloadrapier-00f59d2877faa1cc3d1931664ba691f5d9324243.tar.gz
rapier-00f59d2877faa1cc3d1931664ba691f5d9324243.tar.bz2
rapier-00f59d2877faa1cc3d1931664ba691f5d9324243.zip
clippy: Fix `clippy::lazy_doc_continuation` lints (#689)
These will be enabled in Rust 1.80 by default.
-rw-r--r--crates/rapier3d-urdf/src/lib.rs2
-rw-r--r--src/geometry/broad_phase_multi_sap/broad_phase_multi_sap.rs1
-rw-r--r--src/lib.rs2
3 files changed, 3 insertions, 2 deletions
diff --git a/crates/rapier3d-urdf/src/lib.rs b/crates/rapier3d-urdf/src/lib.rs
index 9aea453..f6d96bd 100644
--- a/crates/rapier3d-urdf/src/lib.rs
+++ b/crates/rapier3d-urdf/src/lib.rs
@@ -15,7 +15,7 @@
//! these elements are very welcome!
//!
//! - Mesh file types other than `stl` are not supported yet. Contributions are welcome. You my check the `rapier3d-stl`
-//! repository for an example of mesh loader.
+//! repository for an example of mesh loader.
//! - When inserting joints as multibody joints, they will be reset to their neutral position (all coordinates = 0).
//! - The following fields are currently ignored:
//! - `Joint::dynamics`
diff --git a/src/geometry/broad_phase_multi_sap/broad_phase_multi_sap.rs b/src/geometry/broad_phase_multi_sap/broad_phase_multi_sap.rs
index 1d0f2a4..78b00b9 100644
--- a/src/geometry/broad_phase_multi_sap/broad_phase_multi_sap.rs
+++ b/src/geometry/broad_phase_multi_sap/broad_phase_multi_sap.rs
@@ -57,6 +57,7 @@ use parry::utils::hashmap::HashMap;
/// of the layer `n + 1`.
/// - When an Aabb in the region of the layer `n + 1` intersects the Aabb corresponding to one of the
/// regions at the smaller layer `n`, we add that Aabb to that smaller region.
+///
/// So in the end it means that a given Aabb will be inserted into all the region it intersects at
/// the layer `n`. And it will also be inserted into all the regions it intersects at the smaller layers
/// (the layers `< n`), but only for the regions that already exist (so we don't have to discretize
diff --git a/src/lib.rs b/src/lib.rs
index 560fd6b..cf2503d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -6,7 +6,7 @@
//! Rapier has some unique features for collaborative applications:
//! - The ability to snapshot the state of the physics engine, and restore it later.
//! - 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.
+//! are compliant with the IEEE 754-2008 floating point standard.
//!
//! User documentation for Rapier is on [the official Rapier site](https://rapier.rs/docs/).