Closed
Description
The rustdoc help says
Prefix searches with a type followed by a colon (e.g., fn:) to restrict the search to a given type.
Accepted types are: fn, mod, struct, enum, trait, type, macro, and const.
However, in Rust lingo, struct
or enum
isn't a "type". Vec<i32>
is a type. And macro
, trait
and const
certainly aren't "types".
IMO this should at least be qualified to something like "item type", but I think "item kind" would be even better.