diff --git a/Cargo.lock b/Cargo.lock index 6377949..4289a68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -28,9 +28,9 @@ dependencies = [ [[package]] name = "grid" -version = "0.16.2" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "969d090eea77fac1be33f853ffc4b6b60cc6f312ddf4fd28b311a730e1dd8ebe" +checksum = "71b01d27060ad58be4663b9e4ac9e2d4806918e8876af8912afbddd1a91d5eaa" [[package]] name = "grid-engine" diff --git a/Cargo.toml b/Cargo.toml index 4ae396b..d7df3db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,6 @@ categories = ["data-structures"] license = "MIT" [dependencies] -grid = { version = "0.16.2" } +grid = "0.17.0" thiserror = "2.0.12" uuid = { version = "1.10.0", features = ["v4"] } - diff --git a/src/inner_grid.rs b/src/inner_grid.rs index 434f4ea..4840d94 100644 --- a/src/inner_grid.rs +++ b/src/inner_grid.rs @@ -184,23 +184,6 @@ impl InnerGrid { } Ok(()) } - - /// Expands the grid by adding the specified number of rows. - /// - /// New rows are initialized with empty cells (None). This is used - /// internally when automatic expansion is triggered. - /// - /// # Arguments - /// - /// * `rows` - Number of rows to add - pub(crate) fn expand_rows(&mut self, rows: usize) { - let cols = self.cols(); - - for _ in 0..rows { - let row = vec![None; cols]; - self.push_row(row); - } - } } #[cfg(test)]