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

@ -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.

View file

@ -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.