rustdoc::clean::utils

Function find_nearest_parent_module

source
pub(crate) fn find_nearest_parent_module(
    tcx: TyCtxt<'_>,
    def_id: DefId,
) -> Option<DefId>
Expand description

Find the nearest parent module of a DefId.