mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-29 19:17:12 +00:00
cargo fmt
This commit is contained in:
parent
87f837cec7
commit
7535bb4661
571 changed files with 2210 additions and 2458 deletions
|
|
@ -5,8 +5,8 @@
|
|||
use std::mem;
|
||||
|
||||
use crate::{
|
||||
output::Output,
|
||||
SyntaxKind::{self, *},
|
||||
output::Output,
|
||||
};
|
||||
|
||||
/// `Parser` produces a flat list of `Event`s.
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue