rustdoc search: for return-type based searches, deprioritize functions that also have that type in an argument · Issue #134935 · rust-lang/rust (original) (raw)

for example, searching the rustc docs for -> Context returns several clone methods.

what this type of search means is "how do i get values of this type", in which case clone is not very useful, and stuff like constructors should be shown first.

this would apply to both -> Type searches and also the "in return types" tab.