Fixed trailing issues

This commit is contained in:
Yehuda Katz
2019-06-23 15:32:26 -04:00
parent af82f44e13
commit bed5ba52d3
4 changed files with 11 additions and 17 deletions

View File

@ -130,7 +130,6 @@ fn paint_token_node(token_node: &TokenNode, line: &str) -> String {
item: RawToken::Bare,
..
}) => Color::Green.normal().paint(token_node.span().slice(line)),
TokenNode::EOF(_) => return format!(""),
};
styled.to_string()