diff options
author | Joe Wilm <joe@jwilm.com> | 2016-07-29 18:04:26 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2016-07-29 18:04:26 -0700 |
commit | f6cd24eccc25016940968e9aa4307e7d4a7f3aa2 (patch) | |
tree | 8de2e2ae6d9b8a47479c9d72b9dc44366a797fd7 /src/grid.rs | |
parent | 970421fd0055a03f215efeb142b60e5cb29ef379 (diff) | |
download | alacritty-f6cd24eccc25016940968e9aa4307e7d4a7f3aa2.tar.gz alacritty-f6cd24eccc25016940968e9aa4307e7d4a7f3aa2.zip |
Remove unnecessary calls in grid
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] |