aboutsummaryrefslogtreecommitdiff
path: root/src/math/rect.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/rect.rs')
-rw-r--r--src/math/rect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/rect.rs b/src/math/rect.rs
index befa4da..50c1cb0 100644
--- a/src/math/rect.rs
+++ b/src/math/rect.rs
@@ -112,7 +112,7 @@ impl<T: Scalar + Copy> Rect<T> {
x: min.x,
y: min.y,
w: max.x - min.x,
- h: max.y - min.y
+ h: max.y - min.y,
}
}