Cleanup - remove unnecessary pub

This commit is contained in:
Paweł Palenica 2021-10-20 23:37:31 -07:00
parent c8820d342f
commit 9f31f59fdf

View File

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