☰
rustdoc
1.75.0-dev
In rustdoc::clean::utils
Constants
DOC_RUST_LANG_ORG_CHANNEL
Statics
DOC_CHANNEL
Functions
build_deref_target_impls
display_macro_source
enter_impl_trait
external_generic_args
external_path
find_nearest_parent_module
format_integer_with_underscore_sep
get_auto_trait_and_blanket_impls
has_doc_flag
inherits_doc_hidden
is_literal_expr
krate
name_from_pat
print_const
print_const_with_custom_print_scalar
print_evaluated_const
qpath_to_string
register_res
render_macro_arms
resolve_type
resolve_use_source
should_ignore_res
strip_path_generics
ty_args_to_args
?
Function
rustdoc
::
clean
::
utils
::
strip_path_generics
source
·
[
−
]
pub(crate) fn strip_path_generics(path:
Path
) ->
Path
Expand description
Remove the generic arguments from a path.