Skip to content

Commit 5ec4dc5

Browse files
committed
fix some comments and remove leftovers
1 parent c417ae0 commit 5ec4dc5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,8 @@ impl<T: AsRef<str>> Grid<T> {
201201
.cells
202202
.len()
203203
.min((self.options.width + self.options.filling.width()) / widest_column);
204-
// Caculate approximate number of rows and columns.
204+
// Caculate minimum number of rows.
205205
let min_lines = div_ceil(self.cells.len(), min_columns);
206-
// let appr_num_columns = div_ceil(self.cells.len(), appr_num_lines);
207206

208207
// This is a potential dimension, which can definitely fit all of the cells.
209208
let mut potential_dimension = self.compute_dimensions(min_lines, min_columns);

0 commit comments

Comments
 (0)