diff options
author | Joe Wilm <joe@jwilm.com> | 2018-05-29 16:33:00 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-06-02 09:56:50 -0700 |
commit | c01ce1e6ff3d36d0ec55707421e9f31fe000559f (patch) | |
tree | 1cb2a798a3beafc361f75fe0bc8c3e419cd68810 | |
parent | c3b7b98d6b19bbebf0b5a29689feb9b7162c9864 (diff) | |
download | alacritty-c01ce1e6ff3d36d0ec55707421e9f31fe000559f.tar.gz alacritty-c01ce1e6ff3d36d0ec55707421e9f31fe000559f.zip |
fixup! Add assert to Row::grow
Resolves #1337
-rw-r--r-- | src/grid/row.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grid/row.rs b/src/grid/row.rs index e907b61d..55c82a0d 100644 --- a/src/grid/row.rs +++ b/src/grid/row.rs @@ -33,7 +33,7 @@ impl<T: Copy + Clone> Row<T> { assert!(self.len() < * cols); while self.len() != *cols { - self.inner.push(*template); + self.0.push(*template); } } |