From b6f7b39c0dd28755143dd39d90f5d81f7720d760 Mon Sep 17 00:00:00 2001 From: Joe Wilm Date: Sun, 18 Sep 2016 18:16:58 -0700 Subject: Minor fixes Remove random println and add a missing #[inline] --- src/grid.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/grid.rs') 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 Grid { } } + #[inline] pub fn contains(&self, cursor: &Cursor) -> bool { self.lines > cursor.line && self.cols > cursor.col } -- cgit