aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/grid
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2021-01-01 05:07:39 +0000
committerGitHub <noreply@github.com>2021-01-01 05:07:39 +0000
commit8ed72cc065255007a7f0687e3b8a540e8c6202c6 (patch)
tree97be52ae4c288fcfeb849d1f97f7a5efc9c2dab1 /alacritty_terminal/src/grid
parent1723e30d25f0c6068f9532448b016a89aa491a95 (diff)
downloadalacritty-8ed72cc065255007a7f0687e3b8a540e8c6202c6.tar.gz
alacritty-8ed72cc065255007a7f0687e3b8a540e8c6202c6.zip
Remove Windows WinPTY backend
Diffstat (limited to 'alacritty_terminal/src/grid')
-rw-r--r--alacritty_terminal/src/grid/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/alacritty_terminal/src/grid/tests.rs b/alacritty_terminal/src/grid/tests.rs
index eac19828..f178226c 100644
--- a/alacritty_terminal/src/grid/tests.rs
+++ b/alacritty_terminal/src/grid/tests.rs
@@ -297,8 +297,6 @@ fn grow_reflow_multiline() {
assert_eq!(grid[2][Column(5)], cell('6'));
// Make sure rest of grid is empty.
- // https://github.com/rust-lang/rust-clippy/issues/3788
- #[allow(clippy::needless_range_loop)]
for r in 0..2 {
assert_eq!(grid[r].len(), 6);
for c in 0..6 {
@@ -348,6 +346,8 @@ fn shrink_reflow_disabled() {
assert_eq!(grid[0][Column(1)], cell('2'));
}
+// https://github.com/rust-lang/rust-clippy/pull/6375
+#[allow(clippy::all)]
fn cell(c: char) -> Cell {
let mut cell = Cell::default();
cell.c = c;