parse doc comment for items

This commit is contained in:
csmoe 2019-01-04 21:29:00 +08:00
parent 8a6d6ac132
commit f604ff5b2f
3 changed files with 15 additions and 2 deletions

View file

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