mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
Cleanup - remove unnecessary pub
This commit is contained in:
parent
c8820d342f
commit
9f31f59fdf
@ -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))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user