From 6d721929557ff855ded2a88275bc5c3f6da115eb Mon Sep 17 00:00:00 2001 From: MrGunflame Date: Thu, 30 Mar 2023 17:15:43 +0200 Subject: Fix doc-links for `ColliderBuilder` and `RigidBodyBuilder` --- src/dynamics/rigid_body.rs | 2 +- src/geometry/collider.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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, -- cgit