aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/logical_geometry.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2015-08-13 19:06:47 -0400
committerJosh Matthews <josh@joshmatthews.net>2015-08-16 10:30:43 -0400
commit8bb853f64354b2cc1b9f9e0ea416efdd79096418 (patch)
tree3d369b7310e24d25d49939de67fd9a7371675e56 /components/util/logical_geometry.rs
parent7f935f010b356df23c2cf5737021880b30e6c76d (diff)
downloadservo-8bb853f64354b2cc1b9f9e0ea416efdd79096418.tar.gz
servo-8bb853f64354b2cc1b9f9e0ea416efdd79096418.zip
Fix existing syntactics nits.
Diffstat (limited to 'components/util/logical_geometry.rs')
-rw-r--r--components/util/logical_geometry.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/util/logical_geometry.rs b/components/util/logical_geometry.rs
index 95a3c3513f4..ff316e49d34 100644
--- a/components/util/logical_geometry.rs
+++ b/components/util/logical_geometry.rs
@@ -456,7 +456,7 @@ impl<T: Copy + Add<T, Output=T>> LogicalPoint<T> {
}
}
-impl<T: Copy + Add<T,Output=T>> Add<LogicalSize<T>> for LogicalPoint<T> {
+impl<T: Copy + Add<T, Output=T>> Add<LogicalSize<T>> for LogicalPoint<T> {
type Output = LogicalPoint<T>;
#[inline]
@@ -470,7 +470,7 @@ impl<T: Copy + Add<T,Output=T>> Add<LogicalSize<T>> for LogicalPoint<T> {
}
}
-impl<T: Copy + Sub<T,Output=T>> Sub<LogicalSize<T>> for LogicalPoint<T> {
+impl<T: Copy + Sub<T, Output=T>> Sub<LogicalSize<T>> for LogicalPoint<T> {
type Output = LogicalPoint<T>;
#[inline]