remove superfluous IsWhitespace impl
This commit is contained in:
parent
f158f03708
commit
de887daadc
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user