mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-18 05:00:16 +00:00
Update CHANGELOG (#192)
Also remove a comment with a trailing space, which rustfmt doesn't like
This commit is contained in:
parent
a42121de52
commit
10b0b7f884
2 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue