Skip to content

Commit

Permalink
Resolve unnecessary_semicolon pedantic clippy lint
Browse files Browse the repository at this point in the history
    warning: unnecessary semicolon
       --> src/de.rs:371:10
        |
    371 |         };
        |          ^ help: remove
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
        = note: `-W clippy::unnecessary-semicolon` implied by `-W clippy::pedantic`
        = help: to override `-W clippy::pedantic` add `#[allow(clippy::unnecessary_semicolon)]`
  • Loading branch information
dtolnay committed Jan 30, 2025
1 parent c916099 commit 1174c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ impl<'de, R: Read<'de>> Deserializer<R> {
None => {
return Err(self.peek_error(ErrorCode::EofWhileParsingValue));
}
};
}

tri!(self.scan_integer128(&mut buf));

Expand Down

0 comments on commit 1174c5f

Please sign in to comment.