aboutsummaryrefslogtreecommitdiff
path: root/src/grid.rs
diff options
context:
space:
mode:
authorJoe Wilm <joe@jwilm.com>2016-09-18 18:16:58 -0700
committerJoe Wilm <joe@jwilm.com>2016-09-18 18:16:58 -0700
commitb6f7b39c0dd28755143dd39d90f5d81f7720d760 (patch)
treed520545ec0d1ae1a78e85f5286ee7b7582c63511 /src/grid.rs
parentc3a383ad5adafeb4eb9962711f7f396f3190789d (diff)
downloadalacritty-b6f7b39c0dd28755143dd39d90f5d81f7720d760.tar.gz
alacritty-b6f7b39c0dd28755143dd39d90f5d81f7720d760.zip
Minor fixes
Remove random println and add a missing #[inline]
Diffstat (limited to 'src/grid.rs')
-rw-r--r--src/grid.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/grid.rs b/src/grid.rs
index c3473d8c..8dbfd0b5 100644
--- a/src/grid.rs
+++ b/src/grid.rs
@@ -134,6 +134,7 @@ impl<T> Grid<T> {
}
}
+ #[inline]
pub fn contains(&self, cursor: &Cursor) -> bool {
self.lines > cursor.line && self.cols > cursor.col
}