From de887daadc7d58b2431cff5efd1b27051bc20234 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Sun, 26 Apr 2020 22:57:56 -0400 Subject: [PATCH] remove superfluous IsWhitespace impl --- src/token.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/token.rs b/src/token.rs index bc6c8b1..6328446 100644 --- a/src/token.rs +++ b/src/token.rs @@ -26,12 +26,3 @@ impl IsWhitespace for Token { false } } - -impl IsWhitespace for &Token { - fn is_whitespace(&self) -> bool { - if self.kind.is_whitespace() { - return true; - } - false - } -}