diff options
Diffstat (limited to 'src/geometry')
| -rw-r--r-- | src/geometry/collider.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs index 08295c1..c7ceadf 100644 --- a/src/geometry/collider.rs +++ b/src/geometry/collider.rs @@ -197,6 +197,7 @@ impl Collider { /// A structure responsible for building a new collider. #[derive(Clone)] #[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))] +#[must_use = "Builder functions return the updated builder"] pub struct ColliderBuilder { /// The shape of the collider to be built. pub shape: SharedShape, |
