Fix typo defenition -> definition

This commit is contained in:
Marcus Klaas de Vries 2019-01-08 23:38:51 +01:00
parent 46f74e33ca
commit f8261d611a
8 changed files with 21 additions and 21 deletions

View file

@ -20,7 +20,7 @@ macro_rules! ctry {
mod completion;
mod db;
mod goto_defenition;
mod goto_definition;
mod imp;
pub mod mock_analysis;
mod runnables;
@ -399,11 +399,11 @@ impl Analysis {
.collect();
Ok(res)
}
pub fn goto_defenition(
pub fn goto_definition(
&self,
position: FilePosition,
) -> Cancelable<Option<Vec<NavigationTarget>>> {
goto_defenition::goto_defenition(&*self.db, position)
goto_definition::goto_definition(&*self.db, position)
}
/// Finds all usages of the reference at point.
pub fn find_all_refs(&self, position: FilePosition) -> Cancelable<Vec<(FileId, TextRange)>> {