aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/util/geometry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/util/geometry.rs')
-rw-r--r--src/components/util/geometry.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/components/util/geometry.rs b/src/components/util/geometry.rs
index 4b2cb0c2e43..71184e5eec1 100644
--- a/src/components/util/geometry.rs
+++ b/src/components/util/geometry.rs
@@ -124,10 +124,6 @@ impl ToPrimitive for Au {
}
}
-pub fn box<T:Clone + Ord + Add<T,T> + Sub<T,T>>(x: T, y: T, w: T, h: T) -> Rect<T> {
- Rect(Point2D(x, y), Size2D(w, h))
-}
-
impl Au {
/// FIXME(pcwalton): Workaround for lack of cross crate inlining of newtype structs!
#[inline]