diff --git a/textium/src/geometry.rs b/textium/src/geometry.rs index aac77d4..b08584e 100644 --- a/textium/src/geometry.rs +++ b/textium/src/geometry.rs @@ -13,7 +13,7 @@ pub struct Rect { #[allow(dead_code)] impl Rect where T: Copy + Add + Sub + Mul - + Ord + PartialOrd + + PartialOrd { /// Returns a new rectangle given the upper-left corner and its width + height. pub fn new(x: T, y: T, w: T, h: T) -> Rect {