small software-rendered rust tty
| -rw-r--r-- | src/term/cells.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/cells.rs b/src/term/cells.rs index 45d9048..034a60f 100644 --- a/src/term/cells.rs +++ b/src/term/cells.rs @@ -75,7 +75,7 @@ impl Cells { let i = self.at((x, y)); &mut self.cells[i] } - pub fn rows(&mut self) -> impl Iterator<Item = &mut [Cell]> { + pub fn rows(&mut self) -> std::slice::ChunksExactMut<'_, Cell> { let w = self.c(); self.cells().chunks_exact_mut(w as _) } |