Skip to content

Commit e0952f3

Browse files
committed
Code review fixes
1 parent db8e22d commit e0952f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/parser/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9585,7 +9585,7 @@ impl<'a> Parser<'a> {
95859585
opts
95869586
}),
95879587
Some(Keyword::DATEFORMAT) => {
9588-
let _ = self.parse_keyword(Keyword::AS); // [ AS ]
9588+
let _ = self.parse_keyword(Keyword::AS);
95899589
let fmt = if matches!(self.peek_token().token, Token::SingleQuotedString(_)) {
95909590
Some(self.parse_literal_string()?)
95919591
} else {
@@ -9594,7 +9594,7 @@ impl<'a> Parser<'a> {
95949594
CopyLegacyOption::DateFormat(fmt)
95959595
}
95969596
Some(Keyword::DELIMITER) => {
9597-
let _ = self.parse_keyword(Keyword::AS); // [ AS ]
9597+
let _ = self.parse_keyword(Keyword::AS);
95989598
CopyLegacyOption::Delimiter(self.parse_literal_char()?)
95999599
}
96009600
Some(Keyword::EMPTYASNULL) => CopyLegacyOption::EmptyAsNull,
@@ -9605,11 +9605,11 @@ impl<'a> Parser<'a> {
96059605
CopyLegacyOption::IgnoreHeader(num_rows)
96069606
}
96079607
Some(Keyword::NULL) => {
9608-
let _ = self.parse_keyword(Keyword::AS); // [ AS ]
9608+
let _ = self.parse_keyword(Keyword::AS);
96099609
CopyLegacyOption::Null(self.parse_literal_string()?)
96109610
}
96119611
Some(Keyword::TIMEFORMAT) => {
9612-
let _ = self.parse_keyword(Keyword::AS); // [ AS ]
9612+
let _ = self.parse_keyword(Keyword::AS);
96139613
let fmt = if matches!(self.peek_token().token, Token::SingleQuotedString(_)) {
96149614
Some(self.parse_literal_string()?)
96159615
} else {

0 commit comments

Comments
 (0)