From cff02d525ac50a1aa16dafba9780da66fc6d6661 Mon Sep 17 00:00:00 2001 From: Tim McNamara Date: Tue, 17 Aug 2021 21:39:34 +1200 Subject: [PATCH] fix: reinstate inclusive ranges --- ch2/ch2-mandelbrot/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch2/ch2-mandelbrot/src/main.rs b/ch2/ch2-mandelbrot/src/main.rs index f7c6530e..a887cef0 100644 --- a/ch2/ch2-mandelbrot/src/main.rs +++ b/ch2/ch2-mandelbrot/src/main.rs @@ -55,7 +55,7 @@ fn render_mandelbrot(escape_vals: Vec>) { 0..=2 => ' ', 3..=5 => '.', 6..=10 => '•', - 11..30 => '*', + 11..=30 => '*', 31..=100 => '+', 101..=200 => 'x', 201..=400 => '$',