fix clippy lints
This commit is contained in:
parent
7c40505d7d
commit
e19e47e6ad
6 changed files with 7 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue