aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2024-08-30 16:53:46 +0700
committerGitHub <noreply@github.com>2024-08-30 11:53:46 +0200
commit983f8a39012431b5c678494c5d77306be16063b0 (patch)
tree7e684cf3041949b30ddadc5b84041e2cacf7deb5 /src
parent3e058ae3894f5209823b725ffa4e7bd2b24bb292 (diff)
downloadrapier-983f8a39012431b5c678494c5d77306be16063b0.tar.gz
rapier-983f8a39012431b5c678494c5d77306be16063b0.tar.bz2
rapier-983f8a39012431b5c678494c5d77306be16063b0.zip
Fix pluralization in doc comment. (#725)
Diffstat (limited to 'src')
-rw-r--r--src/pipeline/query_pipeline/generators.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pipeline/query_pipeline/generators.rs b/src/pipeline/query_pipeline/generators.rs
index 1145b4a..5e5146b 100644
--- a/src/pipeline/query_pipeline/generators.rs
+++ b/src/pipeline/query_pipeline/generators.rs
@@ -15,7 +15,7 @@ use crate::{
/// Generates collider AABBs based on the union of their current AABB and the AABB predicted
/// from the velocity and forces of their parent rigid-body.
///
-/// The main purpose of this struct is to be passed as a parameters to
+/// The main purpose of this struct is to be passed as a parameter to
/// [`QueryPipeline::update_with_generator`] to update the [`QueryPipeline`].
///
/// The predicted position is calculated as
@@ -56,7 +56,7 @@ impl<'a> QbvhDataGenerator<ColliderHandle> for SweptAabbWithPredictedPosition<'a
/// Generates collider AABBs based on the union of their AABB at their current [`Collider::position`]
/// and the AABB predicted from their parent’s [`RigidBody::next_position`].
///
-/// The main purpose of this struct is to be passed as a parameters to
+/// The main purpose of this struct is to be passed as a parameter to
/// [`QueryPipeline::update_with_generator`] to update the [`QueryPipeline`].
///
/// The predicted position is calculated as
@@ -89,7 +89,7 @@ impl<'a> QbvhDataGenerator<ColliderHandle> for SweptAabbWithNextPosition<'a> {
/// Generates collider AABBs based on the AABB at their current [`Collider::position`].
///
-/// The main purpose of this struct is to be passed as a parameters to
+/// The main purpose of this struct is to be passed as a parameter to
/// [`QueryPipeline::update_with_generator`] to update the [`QueryPipeline`].
pub struct CurrentAabb<'a> {
/// The colliders of your simulation.