diff options
Diffstat (limited to 'src/term.rs')
-rw-r--r-- | src/term.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.rs b/src/term.rs index 72238a9..3561521 100644 --- a/src/term.rs +++ b/src/term.rs @@ -19,7 +19,7 @@ impl Size { Ok(Self { rows, cols }) } - pub fn fits_in(&self, other: &Self) -> bool { + pub fn fits_in(self, other: Self) -> bool { self.rows <= other.rows && self.cols <= other.cols } } |