Update CHANGELOG (#192)

Also remove a comment with a trailing space, which rustfmt doesn't like
This commit is contained in:
Nickolay Ponomarev 2020-06-07 20:43:44 +03:00 committed by GitHub
parent a42121de52
commit 10b0b7f884
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -143,7 +143,6 @@ impl Token {
}
pub fn make_word(word: &str, quote_style: Option<char>) -> Self {
let word_uppercase = word.to_uppercase();
//TODO: validate use of a hashset (e.g. FnvHashSet) compared to using binary search
let is_keyword =
quote_style == None && ALL_KEYWORDS.binary_search(&word_uppercase.as_str()).is_ok();
Token::Word(Word {