Skip to content

Commit

Permalink
clippy::unnested_or_patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenn committed Aug 10, 2024
1 parent e4bf89f commit 06ef676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lexer/sql/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ impl Splitter for Tokenizer {
b',' => Ok((Some((&data[..1], TK_COMMA)), 1)),
b'&' => Ok((Some((&data[..1], TK_BITAND)), 1)),
b'~' => Ok((Some((&data[..1], TK_BITNOT)), 1)),
quote @ b'`' | quote @ b'\'' | quote @ b'"' => literal(data, quote),
quote @ (b'`' | b'\'' | b'"') => literal(data, quote),
b'.' => {
if let Some(b) = data.get(1) {
if b.is_ascii_digit() {
Expand Down

0 comments on commit 06ef676

Please sign in to comment.