diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2024-05-03 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2024-05-03 00:00:00 +0000 |
commit | c2091ee7c78e43ee9ca0f423b5975db1311147aeb344b8345ec533a52fc4e428 (patch) | |
tree | 31ab2a845fd4dac55ec35f53ce8afef679921d23ba2891df337a81b8ac7063f6 /src | |
parent | a36d995b7c34449e7f4d33c7592192e16e0db9f599f563b3fef6d63b067ff8ce (diff) | |
download | hitomezashi-rs-c2091ee7c78e43ee9ca0f423b5975db1311147aeb344b8345ec533a52fc4e428.tar.gz hitomezashi-rs-c2091ee7c78e43ee9ca0f423b5975db1311147aeb344b8345ec533a52fc4e428.zip |
Complete replacement of print!() with write!()
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 } } |