# Function rustdoc::html::render::collect_paths_for_type

source ·

    fn collect_paths_for_type(first_ty: Type, cache: &Cache) -> Vec<String>

Expand description

Returns a list of all paths used in the type. This is used to help deduplicate imported impls for reexported types. If any of the contained types are re-exported, we don’t use the corresponding entry from the js file, as inlining will have already picked up the impl