Skip to content

Commit e09367c

Browse files
refactor: update grid dependency (#4)
1 parent 99093a0 commit e09367c

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ categories = ["data-structures"]
1212
license = "MIT"
1313

1414
[dependencies]
15-
grid = { version = "0.16.2" }
15+
grid = "0.17.0"
1616
thiserror = "2.0.12"
1717
uuid = { version = "1.10.0", features = ["v4"] }
18-

src/inner_grid.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -184,23 +184,6 @@ impl InnerGrid {
184184
}
185185
Ok(())
186186
}
187-
188-
/// Expands the grid by adding the specified number of rows.
189-
///
190-
/// New rows are initialized with empty cells (None). This is used
191-
/// internally when automatic expansion is triggered.
192-
///
193-
/// # Arguments
194-
///
195-
/// * `rows` - Number of rows to add
196-
pub(crate) fn expand_rows(&mut self, rows: usize) {
197-
let cols = self.cols();
198-
199-
for _ in 0..rows {
200-
let row = vec![None; cols];
201-
self.push_row(row);
202-
}
203-
}
204187
}
205188

206189
#[cfg(test)]

0 commit comments

Comments
 (0)