mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Fix formatting
This commit is contained in:
parent
2a76bb5a0b
commit
568f3cff41
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ impl ExpandedRangeMap {
|
|||
.filter_map(|(r, tid)| {
|
||||
let adjusted_id = tt::TokenId(tid.0.checked_sub(shift)?);
|
||||
let to_range = to.relative_range_of(adjusted_id)?;
|
||||
|
||||
|
||||
Some((*r, TextRange::offset_len(to_range.start() + start, to_range.len())))
|
||||
})
|
||||
.collect()
|
||||
|
|
Loading…
Reference in a new issue