cargo fmt

This commit is contained in:
BenjaminBrienen 2025-03-10 12:42:27 +01:00
parent 87f837cec7
commit 7535bb4661
571 changed files with 2210 additions and 2458 deletions

View file

@ -5,8 +5,8 @@
use std::mem;
use crate::{
output::Output,
SyntaxKind::{self, *},
output::Output,
};
/// `Parser` produces a flat list of `Event`s.

View file

@ -39,9 +39,9 @@ mod patterns;
mod types;
use crate::{
parser::{CompletedMarker, Marker, Parser},
SyntaxKind::{self, *},
TokenSet, T,
T, TokenSet,
parser::{CompletedMarker, Marker, Parser},
};
pub(crate) mod entry {

View file

@ -4,8 +4,8 @@ use crate::grammar::attributes::ATTRIBUTE_FIRST;
use super::*;
pub(super) use atom::{LITERAL_FIRST, literal};
pub(crate) use atom::{block_expr, match_arm_list};
pub(super) use atom::{literal, LITERAL_FIRST};
#[derive(PartialEq, Eq)]
pub(super) enum Semicolon {

View file

@ -5,11 +5,11 @@ use std::cell::Cell;
use drop_bomb::DropBomb;
use crate::{
event::Event,
input::Input,
Edition,
SyntaxKind::{self, EOF, ERROR, TOMBSTONE},
TokenSet, T,
T, TokenSet,
event::Event,
input::Input,
};
/// `Parser` struct provides the low-level API for