mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
.
This commit is contained in:
parent
63f509f492
commit
46b4f89c92
28 changed files with 69 additions and 67 deletions
|
@ -116,7 +116,7 @@ pub(super) fn doc_comment(hl: &mut Highlights, node: &SyntaxNode) {
|
|||
None => (),
|
||||
}
|
||||
|
||||
let line: &str = comment.text().as_str();
|
||||
let line: &str = comment.text();
|
||||
let range = comment.syntax().text_range();
|
||||
|
||||
let mut pos = TextSize::of(comment.prefix());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue