mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-01 12:24:29 +00:00
cargo fmt
This commit is contained in:
parent
87f837cec7
commit
7535bb4661
571 changed files with 2210 additions and 2458 deletions
|
|
@ -14,7 +14,7 @@ use std::{
|
|||
|
||||
use la_arena::{Arena, Idx, RawIdx};
|
||||
use rustc_hash::FxHasher;
|
||||
use syntax::{ast, AstNode, AstPtr, SyntaxNode, SyntaxNodePtr};
|
||||
use syntax::{AstNode, AstPtr, SyntaxNode, SyntaxNodePtr, ast};
|
||||
|
||||
/// See crates\hir-expand\src\ast_id_map.rs
|
||||
/// This is a type erased FileAstId.
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ use std::{fmt, hash::Hash};
|
|||
use stdx::{always, itertools::Itertools};
|
||||
|
||||
use crate::{
|
||||
EditionedFileId, ErasedFileAstId, Span, SpanAnchor, SpanData, SyntaxContext, TextRange,
|
||||
TextSize, ROOT_ERASED_FILE_AST_ID,
|
||||
EditionedFileId, ErasedFileAstId, ROOT_ERASED_FILE_AST_ID, Span, SpanAnchor, SpanData,
|
||||
SyntaxContext, TextRange, TextSize,
|
||||
};
|
||||
|
||||
/// Maps absolute text ranges for the corresponding file to the relevant span data.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue