diff options
author | Joe Wilm <joe@jwilm.com> | 2018-05-29 16:33:00 -0700 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-05-29 16:33:01 -0700 |
commit | bcdaf64c40d109df6bb55e7e12b8a8462e6b9691 (patch) | |
tree | efde7be15259395beb3ea9c883efdc7f8d856e24 /src/grid | |
parent | 26fd7b858dcab08120a1749f6ef4307d748b3ec6 (diff) | |
download | alacritty-bcdaf64c40d109df6bb55e7e12b8a8462e6b9691.tar.gz alacritty-bcdaf64c40d109df6bb55e7e12b8a8462e6b9691.zip |
fixup! Add assert to Row::grow
Resolves #1337
Diffstat (limited to 'src/grid')
-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); } } |