Auto merge of #27515 - Eljay:rustdoc-search, r=alexcrichton
Some small changes to (hopefully) make search more useful: * Less strict filtering, e.g: * searching for "fn: foo" now matches methods and trait functions as well. * searching for types also matches primitive types. * searching for const will also match associated constants (but there aren't any in std yet) * Changed searching for types to use the actual keyword "type" instead of the strange C-like "typedef". * Added const and macro to allowed keywords.
Showing
想要评论请 注册 或 登录