I believe this for loop code
|
for num_lines in (1 .. theoretical_max_num_lines).rev() { |
should be inclusive
for num_lines in (1..=theoretical_max_num_lines).rev() {
I ran into this problem where the output should've been 2 rows but it would never output 2 rows. It would always fail and return the initialized value of None for smallest_dimensions_yet.
Please confirm.
Thanks!
I believe this for loop code
rust-term-grid/src/lib.rs
Line 383 in 99396dd
should be inclusive
I ran into this problem where the output should've been 2 rows but it would never output 2 rows. It would always fail and return the initialized value of
Noneforsmallest_dimensions_yet.Please confirm.
Thanks!