Shorten frequent names

This commit is contained in:
Aleksey Kladov 2021-01-09 14:44:01 +03:00
parent 6fb52af521
commit 64a6ee4535
8 changed files with 222 additions and 246 deletions

View file

@ -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,
}),
}