From 52728e601bc6c4b391159b98e30e3ebbfe8e5472 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Sun, 25 Apr 2021 17:47:39 +0100 Subject: [PATCH] remove unnecessary trailing semicolon --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 65320e6..c3134bd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -290,7 +290,7 @@ pub fn add_room() -> String { fn colour_match(a: &image::Rgb, b: &bitsy_parser::Colour) -> u8 { if a[0] == b.red && a[1] == b.green && a[2] == b.blue { 1 } else { 0 } - }; + } for y in (row * SD)..((row + 1) * SD) { for x in (column * SD)..((column + 1) * SD) {