diff --git a/cursive-core/src/vec.rs b/cursive-core/src/vec.rs index be03e68..e83a1ea 100644 --- a/cursive-core/src/vec.rs +++ b/cursive-core/src/vec.rs @@ -258,6 +258,7 @@ impl XY { impl + Clone> XY { /// Returns (max(self.x,other.x), self.y+other.y) + #[must_use] pub fn stack_vertical(&self, other: &Self) -> Self { Self::new( max(self.x.clone(), other.x.clone()), @@ -266,6 +267,7 @@ impl + Clone> XY { } /// Returns (self.x+other.x, max(self.y,other.y)) + #[must_use] pub fn stack_horizontal(&self, other: &Self) -> Self { Self::new( self.x.clone() + other.x.clone(),