mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
parse doc comment for items
This commit is contained in:
parent
8a6d6ac132
commit
f604ff5b2f
3 changed files with 15 additions and 2 deletions
|
@ -394,7 +394,7 @@ impl Analysis {
|
|||
pub fn doc_text_for(&self, nav: NavigationTarget) -> Cancelable<Option<String>> {
|
||||
self.db.doc_text_for(nav)
|
||||
}
|
||||
/// Returns a `mod name;` declaration whihc created the current module.
|
||||
/// Returns a `mod name;` declaration which created the current module.
|
||||
pub fn parent_module(&self, position: FilePosition) -> Cancelable<Vec<NavigationTarget>> {
|
||||
self.db.parent_module(position)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue