]> git.lizzy.rs Git - rust.git/commit
doc pages: add the ability to search unknown types
authorBrandon W Maister <quodlibetor@gmail.com>
Sat, 13 Feb 2016 20:11:08 +0000 (15:11 -0500)
committerBrandon W Maister <quodlibetor@gmail.com>
Sat, 13 Feb 2016 20:15:31 +0000 (15:15 -0500)
commit2fd7701dd6700b71e8157e31430508ba830b96ac
tree1f85dddf90da4852616bed9e37e30e4757c95181
parent4b7245047b802f8e01c824a6efd8197da8be82fb
doc pages: add the ability to search unknown types

This enables `*` in all type positions in doc searches, which I often
want in order to find functions that create or convert specific
types (e.g. `* -> vec`) but I don't actually know what kinds of input
they expect.

I actually started working on this because of #31598, but I've wanted it
several times when exploring new crates.
src/librustdoc/html/layout.rs
src/librustdoc/html/static/main.js