You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Things from other crates can be explicitly divided off, e.g. inside std, searching for repr is currently hard to interpret, but could look like
std::repr
std::raw::Repr::repr
std::raw::Repr
std::repr::Repr
std::repr::repr_to_str
std::repr::ReprVisitor
Other crates
rustc::middle::trans::adt::Repr
rustc::middle::borrowck::RestrictionSet::repr
...
This is especially important with large crates like rustc and syntax being included, which are full of unnecessarily exported things, and are rarely what users want.
(@cmr and @chrismorgan: I saw you discussing this on IRC, but I don't think either of you filed a bug, close as a dupe if you did.)
The text was updated successfully, but these errors were encountered:
This essentially rewrites the sorting algorithm, which relied on
the implementation-defined handling of non-consistent sorting function
(cf. ECMA-262 5th edition, section 15.4.4.11)
and was also a bit inefficient.
The new criteria expands the prior criteria while adding these ones:
- The current crate is always preferred over other crates.
(Closesrust-lang#13178)
- An item with a description is preferred over one without it,
if item names match. This is a heuristic assuming that
the documented item is more likely to be relevant.
- An item with no literal occurrence of search query is handled correctly.
…ovement, r=Alexendoo
Add possibility to focus on search input using keyboard
This PR adds the possibility to focus on the search input with `S` or `/` like in rustdoc and `mdbook` and `docs.rs` (unification++). Pressing escape will blur it.
r? `@Alexendoo`
changelog: Add possibility to focus on search input using keyboard
Things from other crates can be explicitly divided off, e.g. inside
std
, searching forrepr
is currently hard to interpret, but could look likeThis is especially important with large crates like
rustc
andsyntax
being included, which are full of unnecessarily exported things, and are rarely what users want.(@cmr and @chrismorgan: I saw you discussing this on IRC, but I don't think either of you filed a bug, close as a dupe if you did.)
The text was updated successfully, but these errors were encountered: