Skip to content

Commit cf4a23a

Browse files
committed
cargo fmt
1 parent 5235f6e commit cf4a23a

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

graphene/src/matrix.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ impl ops::Mul<Vec4> for Matrix {
253253

254254
impl ops::Mul<Vec3> for Matrix {
255255
type Output = Vec3;
256-
256+
257257
fn mul(self, rhs: Vec3) -> Self::Output {
258258
(&self).transform_vec3(&rhs)
259259
}
@@ -267,7 +267,6 @@ impl ops::Mul<Point> for Matrix {
267267
}
268268
}
269269

270-
271270
impl ops::Mul<Point3D> for Matrix {
272271
type Output = Point3D;
273272

@@ -276,7 +275,6 @@ impl ops::Mul<Point3D> for Matrix {
276275
}
277276
}
278277

279-
280278
#[cfg(test)]
281279
mod tests {
282280
use super::Matrix;

graphene/src/quaternion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,4 +172,4 @@ impl ops::MulAssign<Quaternion> for Quaternion {
172172
fn mul_assign(&mut self, rhs: Quaternion) {
173173
*self = *self * rhs;
174174
}
175-
}
175+
}

graphene/src/vec2.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl ops::Mul<f32> for Vec2 {
9393
fn mul(self, rhs: f32) -> Self::Output {
9494
(&self).scale(rhs)
9595
}
96-
}
96+
}
9797
impl ops::MulAssign<f32> for Vec2 {
9898
fn mul_assign(&mut self, rhs: f32) {
9999
*self = *self * rhs;
@@ -131,4 +131,4 @@ impl ops::DivAssign<Vec2> for Vec2 {
131131
fn div_assign(&mut self, rhs: Vec2) {
132132
*self = *self / rhs;
133133
}
134-
}
134+
}

graphene/src/vec3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl ops::Mul<f32> for Vec3 {
9494
fn mul(self, rhs: f32) -> Self::Output {
9595
(&self).scale(rhs)
9696
}
97-
}
97+
}
9898
impl ops::MulAssign<f32> for Vec3 {
9999
fn mul_assign(&mut self, rhs: f32) {
100100
*self = *self * rhs;

graphene/src/vec4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ impl ops::Mul<f32> for Vec4 {
117117
fn mul(self, rhs: f32) -> Self::Output {
118118
(&self).scale(rhs)
119119
}
120-
}
120+
}
121121
impl ops::MulAssign<f32> for Vec4 {
122122
fn mul_assign(&mut self, rhs: f32) {
123123
*self = *self * rhs;

0 commit comments

Comments
 (0)