Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #514

Merged
merged 1 commit into from
Mar 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ impl<T: PartialOrd, U> Size2D<T, U> {
T: Zero,
{
let zero = T::zero();
// The condition is experessed this way so that we return true in
// The condition is expressed this way so that we return true in
// the presence of NaN.
!(self.width > zero && self.height > zero)
}
Expand Down
2 changes: 1 addition & 1 deletion src/transform3d.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl<T, Src, Dst> Transform3D<T, Src, Dst> {
/// of a 2 by 3 matrix transformation.
///
/// Components follow the column-major-column-vector notation (m41 and m42
/// representating the translation terms).
/// representing the translation terms).
///
/// ```text
/// m11 m12 0 0
Expand Down
2 changes: 1 addition & 1 deletion src/vector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2297,7 +2297,7 @@ mod vector2d {
}

#[test]
pub fn test_tpyed_scalar_mul() {
pub fn test_typed_scalar_mul() {
let p1 = Vector2DMm::new(1.0, 2.0);
let cm_per_mm = Scale::<f32, Mm, Cm>::new(0.1);

Expand Down
Loading