From 87f04e57c3a811cff236f7ea89ac49b3626835c6 Mon Sep 17 00:00:00 2001 From: kennytm Date: Sun, 5 Oct 2014 02:32:26 +0800 Subject: [PATCH] rustup. --- src/canvas.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/canvas.rs b/src/canvas.rs index fc3ef6e..7c4265e 100644 --- a/src/canvas.rs +++ b/src/canvas.rs @@ -333,7 +333,7 @@ impl Canvas { fn draw_alignment_patterns(&mut self) { match self.version { MicroVersion(_) | Version(1) => { return; } - Version(2..6) => self.draw_alignment_pattern_at(-7, -7), + Version(2...6) => self.draw_alignment_pattern_at(-7, -7), Version(a) => { let positions = ALIGNMENT_PATTERN_POSITIONS[a as uint - 7]; for x in positions.iter() {