Fix clippy warnings on rust 1.83 (#1570)

This commit is contained in:
Ifeanyi Ubah 2024-11-29 12:37:06 +01:00 committed by GitHub
parent 5a510ac4d9
commit 6291afb2c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 18 additions and 17 deletions

View file

@ -584,7 +584,7 @@ struct State<'a> {
pub col: u64,
}
impl<'a> State<'a> {
impl State<'_> {
/// return the next character and advance the stream
pub fn next(&mut self) -> Option<char> {
match self.peekable.next() {