fix clippy lints

This commit is contained in:
りき萌 2024-10-23 20:12:02 +02:00
parent 7c40505d7d
commit e19e47e6ad
6 changed files with 7 additions and 7 deletions

View file

@ -1,7 +1,7 @@
use core::{cell::Cell, error::Error, fmt};
use alloc::vec::Vec;
use log::{error, info};
use log::error;
use crate::{
ast::{Ast, NodeAllocError, NodeId, NodeKind},
@ -231,7 +231,7 @@ impl<'a> Parser<'a> {
}
}
impl<'a> fmt::Debug for Parser<'a> {
impl fmt::Debug for Parser<'_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("Parser")
.field("events", &self.events)