diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,7 +117,7 @@ pub fn generate(width: usize, height: usize, skew: Option<f64>) { } print_square(&mut lock, cur_row[cur_row.capacity() - 1]); - println!(); // End of base case + writeln!(&mut lock).unwrap(); // End of base case for row_bit in row_bits.iter() { /* Recursive case @@ -131,6 +131,6 @@ pub fn generate(width: usize, height: usize, skew: Option<f64>) { print_square(&mut lock, *x1); }); - println!(); // End of recursive case + writeln!(&mut lock).unwrap(); // End of recursive case } } |