mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Run cargo fix
This commit is contained in:
parent
6605dbaff3
commit
171c176833
24 changed files with 44 additions and 44 deletions
|
@ -8,7 +8,7 @@
|
|||
//! `start node`, `finish node`, and `FileBuilder` converts
|
||||
//! this stream to a real tree.
|
||||
use std::mem;
|
||||
use {
|
||||
use crate::{
|
||||
TextUnit, TextRange, SmolStr,
|
||||
lexer::Token,
|
||||
parser_impl::Sink,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use {lexer::Token, SyntaxKind, SyntaxKind::EOF, TextRange, TextUnit};
|
||||
use crate::{lexer::Token, SyntaxKind, SyntaxKind::EOF, TextRange, TextUnit};
|
||||
|
||||
use std::ops::{Add, AddAssign};
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ mod input;
|
|||
|
||||
use std::cell::Cell;
|
||||
|
||||
use {
|
||||
use crate::{
|
||||
TextUnit, SmolStr,
|
||||
lexer::Token,
|
||||
parser_api::Parser,
|
||||
|
@ -13,7 +13,7 @@ use {
|
|||
},
|
||||
};
|
||||
|
||||
use SyntaxKind::{self, EOF, TOMBSTONE};
|
||||
use crate::SyntaxKind::{self, EOF, TOMBSTONE};
|
||||
|
||||
pub(crate) trait Sink {
|
||||
type Tree;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue