mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Fix typo defenition -> definition
This commit is contained in:
parent
46f74e33ca
commit
f8261d611a
8 changed files with 21 additions and 21 deletions
|
@ -75,8 +75,8 @@ impl Module {
|
|||
}
|
||||
|
||||
/// Returns a node which defines this module. That is, a file or a `mod foo {}` with items.
|
||||
pub fn defenition_source(&self, db: &impl HirDatabase) -> Cancelable<(FileId, ModuleSource)> {
|
||||
self.defenition_source_impl(db)
|
||||
pub fn definition_source(&self, db: &impl HirDatabase) -> Cancelable<(FileId, ModuleSource)> {
|
||||
self.definition_source_impl(db)
|
||||
}
|
||||
/// Returns a node which declares this module, either a `mod foo;` or a `mod foo {}`.
|
||||
/// `None` for the crate root.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue