Skip to content

Commit 7d6f215

Browse files
committed
refactor: Remove unused field Grid.height
1 parent ea3a583 commit 7d6f215

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎src/print/unicode.rs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,6 @@ impl GridCell {
726726
/// This can be rendered as unicode text or as SVG.
727727
struct Grid {
728728
width: usize,
729-
height: usize,
730729

731730
/// Grid cells are stored in row-major order.
732731
data: Vec<GridCell>,
@@ -736,7 +735,6 @@ impl Grid {
736735
pub fn new(width: usize, height: usize, initial: GridCell) -> Self {
737736
Grid {
738737
width,
739-
height,
740738
data: vec![initial; width * height],
741739
}
742740
}

0 commit comments

Comments
 (0)