Module rustdoc::clean::utils[][src]

Constants

A link to doc.rust-lang.org that includes the channel name. Use this instead of manual links so that the channel is consistent.

Functions

Find the nearest parent module of a DefId.

Checks for the existence of hidden in the attribute below if flag is sym::hidden:

If res has a documentation page associated, store it in the cache.

Render a sequence of macro arms in a format suitable for displaying to the user as part of an item declaration.

Render a macro matcher in a format suitable for displaying to the user as part of an item declaration.

Given a type Path, resolve it to a Type using the TyCtxt

Remove the generic arguments from a path.