From 784c714bde6460d3b18e6730e22fddf23d2870b8 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Tue, 6 Nov 2018 21:21:40 +0100 Subject: [PATCH] Fix clippy warning --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {