diff options
Diffstat (limited to 'src/grid.rs')
-rw-r--r-- | src/grid.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/grid.rs b/src/grid.rs index b47be7ca..2a5e870d 100644 --- a/src/grid.rs +++ b/src/grid.rs @@ -110,12 +110,12 @@ impl<T> Grid<T> { #[inline] pub fn num_lines(&self) -> index::Line { - index::Line(self.raw.len()) + self.lines } #[inline] pub fn num_cols(&self) -> index::Column { - index::Column(self.raw[0].len()) + self.cols } #[inline] |