mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-12 21:28:51 +00:00
Cleanup - remove unnecessary pub
This commit is contained in:
parent
c8820d342f
commit
9f31f59fdf
1 changed files with 1 additions and 1 deletions
|
@ -619,6 +619,6 @@ fn path_import_candidate(
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn item_as_assoc(db: &RootDatabase, item: ItemInNs) -> Option<AssocItem> {
|
fn item_as_assoc(db: &RootDatabase, item: ItemInNs) -> Option<AssocItem> {
|
||||||
item.as_module_def().and_then(|module_def| module_def.as_assoc_item(db))
|
item.as_module_def().and_then(|module_def| module_def.as_assoc_item(db))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue