Skip to content

Commit

Permalink
Resolve needless_continue pedantic clippy lint
Browse files Browse the repository at this point in the history
    warning: this `continue` expression is redundant
       --> src/tokens.rs:385:41
        |
    385 | ...                   continue;
        |                       ^^^^^^^^
        |
        = help: consider dropping the `continue` expression
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_continue
        = note: `-W clippy::needless-continue` implied by `-W clippy::pedantic`
        = help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_continue)]`
  • Loading branch information
dtolnay committed Jan 11, 2025
1 parent 307f44b commit 12977e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ impl<'a> Tokenizer<'a> {
match ch {
' ' | '\t' => {
me.chars.next();
continue;
}
'\n' => {
me.chars.next();
Expand Down

0 comments on commit 12977e5

Please sign in to comment.