Skip to content

Commit a44b668

Browse files
Bump crate-ci/typos from 1.26.8 to 1.27.0 (#16236)
# Objective - Closes #16224 ## Solution - Bumps `crate-ci/[email protected]` to `crate-ci/[email protected]`. ## Testing - CI checks should pass. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 282ca73 commit a44b668

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ jobs:
243243
steps:
244244
- uses: actions/checkout@v4
245245
- name: Check for typos
246-
uses: crate-ci/typos@v1.26.8
246+
uses: crate-ci/typos@v1.27.0
247247
- name: Typos info
248248
if: failure()
249249
run: |

crates/bevy_math/src/common_traits.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ impl NormedVectorSpace for f32 {
180180
///
181181
/// 3. Importantly, the interpolation must be *subdivision-stable*: for any interpolation curve
182182
/// between two (unnamed) values and any parameter-value pairs `(t0, p)` and `(t1, q)`, the
183-
/// interpolation curve between `p` and `q` must be the *linear* reparametrization of the original
183+
/// interpolation curve between `p` and `q` must be the *linear* reparameterization of the original
184184
/// interpolation curve restricted to the interval `[t0, t1]`.
185185
///
186186
/// The last of these conditions is very strong and indicates something like constant speed. It
@@ -197,7 +197,7 @@ impl NormedVectorSpace for f32 {
197197
/// / \
198198
/// / \
199199
/// / linear \
200-
/// / reparametrization \
200+
/// / reparameterization \
201201
/// / t = t0 * (1 - s) + t1 * s \
202202
/// / \
203203
/// |-------------------------------------|

crates/bevy_math/src/curve/adaptors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ where
362362
}
363363
}
364364

365-
/// A curve that has had its domain changed by a linear reparametrization (stretching and scaling).
365+
/// A curve that has had its domain changed by a linear reparameterization (stretching and scaling).
366366
/// Curves of this type are produced by [`Curve::reparametrize_linear`].
367367
#[derive(Clone, Debug)]
368368
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]

crates/bevy_math/src/curve/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ where
903903
}
904904
}
905905

906-
/// An error indicating that a linear reparametrization couldn't be performed because of
906+
/// An error indicating that a linear reparameterization couldn't be performed because of
907907
/// malformed inputs.
908908
#[derive(Debug, Error, Display)]
909909
#[display("Could not build a linear function to reparametrize this curve")]
@@ -912,8 +912,8 @@ pub enum LinearReparamError {
912912
#[display("This curve has unbounded domain")]
913913
SourceCurveUnbounded,
914914

915-
/// The target interval for reparametrization was unbounded.
916-
#[display("The target interval for reparametrization is unbounded")]
915+
/// The target interval for reparameterization was unbounded.
916+
#[display("The target interval for reparameterization is unbounded")]
917917
TargetIntervalUnbounded,
918918
}
919919

@@ -1195,7 +1195,7 @@ mod tests {
11951195
}
11961196

11971197
#[test]
1198-
fn reparametrization() {
1198+
fn reparameterization() {
11991199
let curve = function_curve(interval(1.0, f32::INFINITY).unwrap(), ops::log2);
12001200
let reparametrized_curve = curve
12011201
.by_ref()

0 commit comments

Comments
 (0)