mirror of
https://github.com/bevyengine/bevy
synced 2024-11-24 21:53:07 +00:00
Bump crate-ci/typos from 1.26.8 to 1.27.0 (#16236)
# Objective - Closes #16224 ## Solution - Bumps `crate-ci/typos@v1.26.8` to `crate-ci/typos@v1.27.0`. ## Testing - CI checks should pass. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
parent
282ca735ba
commit
a44b668b90
4 changed files with 8 additions and 8 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -243,7 +243,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Check for typos
|
- name: Check for typos
|
||||||
uses: crate-ci/typos@v1.26.8
|
uses: crate-ci/typos@v1.27.0
|
||||||
- name: Typos info
|
- name: Typos info
|
||||||
if: failure()
|
if: failure()
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -180,7 +180,7 @@ impl NormedVectorSpace for f32 {
|
||||||
///
|
///
|
||||||
/// 3. Importantly, the interpolation must be *subdivision-stable*: for any interpolation curve
|
/// 3. Importantly, the interpolation must be *subdivision-stable*: for any interpolation curve
|
||||||
/// between two (unnamed) values and any parameter-value pairs `(t0, p)` and `(t1, q)`, the
|
/// between two (unnamed) values and any parameter-value pairs `(t0, p)` and `(t1, q)`, the
|
||||||
/// interpolation curve between `p` and `q` must be the *linear* reparametrization of the original
|
/// interpolation curve between `p` and `q` must be the *linear* reparameterization of the original
|
||||||
/// interpolation curve restricted to the interval `[t0, t1]`.
|
/// interpolation curve restricted to the interval `[t0, t1]`.
|
||||||
///
|
///
|
||||||
/// The last of these conditions is very strong and indicates something like constant speed. It
|
/// The last of these conditions is very strong and indicates something like constant speed. It
|
||||||
|
@ -197,7 +197,7 @@ impl NormedVectorSpace for f32 {
|
||||||
/// / \
|
/// / \
|
||||||
/// / \
|
/// / \
|
||||||
/// / linear \
|
/// / linear \
|
||||||
/// / reparametrization \
|
/// / reparameterization \
|
||||||
/// / t = t0 * (1 - s) + t1 * s \
|
/// / t = t0 * (1 - s) + t1 * s \
|
||||||
/// / \
|
/// / \
|
||||||
/// |-------------------------------------|
|
/// |-------------------------------------|
|
||||||
|
|
|
@ -362,7 +362,7 @@ where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A curve that has had its domain changed by a linear reparametrization (stretching and scaling).
|
/// A curve that has had its domain changed by a linear reparameterization (stretching and scaling).
|
||||||
/// Curves of this type are produced by [`Curve::reparametrize_linear`].
|
/// Curves of this type are produced by [`Curve::reparametrize_linear`].
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
#[cfg_attr(feature = "serialize", derive(serde::Serialize, serde::Deserialize))]
|
||||||
|
|
|
@ -903,7 +903,7 @@ where
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// An error indicating that a linear reparametrization couldn't be performed because of
|
/// An error indicating that a linear reparameterization couldn't be performed because of
|
||||||
/// malformed inputs.
|
/// malformed inputs.
|
||||||
#[derive(Debug, Error, Display)]
|
#[derive(Debug, Error, Display)]
|
||||||
#[display("Could not build a linear function to reparametrize this curve")]
|
#[display("Could not build a linear function to reparametrize this curve")]
|
||||||
|
@ -912,8 +912,8 @@ pub enum LinearReparamError {
|
||||||
#[display("This curve has unbounded domain")]
|
#[display("This curve has unbounded domain")]
|
||||||
SourceCurveUnbounded,
|
SourceCurveUnbounded,
|
||||||
|
|
||||||
/// The target interval for reparametrization was unbounded.
|
/// The target interval for reparameterization was unbounded.
|
||||||
#[display("The target interval for reparametrization is unbounded")]
|
#[display("The target interval for reparameterization is unbounded")]
|
||||||
TargetIntervalUnbounded,
|
TargetIntervalUnbounded,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1195,7 +1195,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn reparametrization() {
|
fn reparameterization() {
|
||||||
let curve = function_curve(interval(1.0, f32::INFINITY).unwrap(), ops::log2);
|
let curve = function_curve(interval(1.0, f32::INFINITY).unwrap(), ops::log2);
|
||||||
let reparametrized_curve = curve
|
let reparametrized_curve = curve
|
||||||
.by_ref()
|
.by_ref()
|
||||||
|
|
Loading…
Reference in a new issue