mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Don't parse intra doc links as syntax trees
This commit is contained in:
parent
5a343415e8
commit
6cf7b5f8d7
8 changed files with 33 additions and 55 deletions
|
@ -206,7 +206,7 @@ impl server::TokenStream for TokenIdServer {
|
|||
stream: if subtree.token_trees.is_empty() {
|
||||
None
|
||||
} else {
|
||||
Some(subtree.token_trees)
|
||||
Some(TokenStream { token_trees: subtree.token_trees })
|
||||
},
|
||||
span: bridge::DelimSpan::from_single(subtree.delimiter.open),
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue