diff --git a/src/size.rs b/src/size.rs index b8cf9c1..fe45733 100644 --- a/src/size.rs +++ b/src/size.rs @@ -477,7 +477,7 @@ impl Size2D { 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) } diff --git a/src/transform3d.rs b/src/transform3d.rs index b39b7d3..0dcefb4 100644 --- a/src/transform3d.rs +++ b/src/transform3d.rs @@ -230,7 +230,7 @@ impl Transform3D { /// 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 diff --git a/src/vector.rs b/src/vector.rs index e79e859..e0b9128 100644 --- a/src/vector.rs +++ b/src/vector.rs @@ -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::::new(0.1);