mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Shorten frequent names
This commit is contained in:
parent
6fb52af521
commit
64a6ee4535
8 changed files with 222 additions and 246 deletions
|
@ -4,7 +4,7 @@ use std::{cmp::Ordering, iter};
|
|||
use stdx::equal_range_by;
|
||||
use syntax::TextRange;
|
||||
|
||||
use crate::{HighlightTag, HighlightedRange};
|
||||
use crate::{HighlightedRange, HlTag};
|
||||
|
||||
pub(super) struct Highlights {
|
||||
root: Node,
|
||||
|
@ -20,7 +20,7 @@ impl Highlights {
|
|||
Highlights {
|
||||
root: Node::new(HighlightedRange {
|
||||
range,
|
||||
highlight: HighlightTag::None.into(),
|
||||
highlight: HlTag::None.into(),
|
||||
binding_hash: None,
|
||||
}),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue