mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Clarify the meaning of no-op highlight tag
This commit is contained in:
parent
a13947abe6
commit
113688cef0
4 changed files with 14 additions and 15 deletions
|
@ -179,6 +179,5 @@ pub(super) fn highlight_doc_comment(
|
|||
stack.add(comment);
|
||||
}
|
||||
stack.pop_and_inject(None);
|
||||
stack
|
||||
.pop_and_inject(Some(Highlight::from(HighlightTag::Generic) | HighlightModifier::Injected));
|
||||
stack.pop_and_inject(Some(Highlight::from(HighlightTag::Dummy) | HighlightModifier::Injected));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue