summaryrefslogtreecommitdiff
path: root/src/hitomezashi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/hitomezashi.rs')
-rw-r--r--src/hitomezashi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hitomezashi.rs b/src/hitomezashi.rs
index a14296a..155f0b7 100644
--- a/src/hitomezashi.rs
+++ b/src/hitomezashi.rs
@@ -76,7 +76,7 @@ pub fn hitomezashi(width: usize, height: usize, skew: Option<f64>) {
println!();
// height-1 because the first row has already been printed
- for row_bit in row_bits.iter().take(height - 1) {
+ for row_bit in row_bits.iter() {
/* each square in each successive row is derived from the square above it. the row bits
* represent whether there's a stitch between the two squares. if there's a stitch, the
* squares are different, otherwise they are the same. */