aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dynamics/rigid_body.rs2
-rw-r--r--src/geometry/collider.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dynamics/rigid_body.rs b/src/dynamics/rigid_body.rs
index f6c954f..97974d9 100644
--- a/src/dynamics/rigid_body.rs
+++ b/src/dynamics/rigid_body.rs
@@ -13,7 +13,7 @@ use num::Zero;
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
/// A rigid body.
///
-/// To create a new rigid-body, use the `RigidBodyBuilder` structure.
+/// To create a new rigid-body, use the [`RigidBodyBuilder`] structure.
#[derive(Debug, Clone)]
pub struct RigidBody {
pub(crate) pos: RigidBodyPosition,
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs
index 6759b81..7556eb8 100644
--- a/src/geometry/collider.rs
+++ b/src/geometry/collider.rs
@@ -16,7 +16,7 @@ use parry::shape::{Shape, TriMeshFlags};
#[derive(Clone)]
/// A geometric entity that can be attached to a body so it can be affected by contacts and proximity queries.
///
-/// To build a new collider, use the `ColliderBuilder` structure.
+/// To build a new collider, use the [`ColliderBuilder`] structure.
pub struct Collider {
pub(crate) coll_type: ColliderType,
pub(crate) shape: ColliderShape,