diff --git a/src/main.rs b/src/main.rs index 20e22cd..2049b22 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,7 +47,7 @@ impl Byte { } } - fn color(&self) -> &'static Colour { + fn color(self) -> &'static Colour { use ByteCategory::*; match self.category() {