Skip to content

Commit 0fe3a8e

Browse files
authored
Use Token::EOF instead of Option<Token> (#195)
This simplifies codes slightly, removing the need deal with the EOF case explicitly. The clone kludge in `_ => self.expected("date/time field", Token::Word(w.clone())))` will become unnecessary once we stop using a separate match for the keywords, as suggested in https://github.com/andygrove/sqlparser-rs/pull/193#issuecomment-641607194
1 parent 2f10153 commit 0fe3a8e

File tree

2 files changed

+148
-188
lines changed

2 files changed

+148
-188
lines changed

0 commit comments

Comments
 (0)