Skip to content

It would be nice if when RustDoc search finds only one result it goes there #50216

Closed
@gilescope

Description

@gilescope

As a dev,
it would be great if when I pasted in a type e.g. 'AngleBracketedGenericArguments' that returned exactly one result,
then the rust doc website would go straight to the single result (E.g. https://docs.rs/syn/0.13.1/syn/struct.AngleBracketedGenericArguments.html )
rather than showing me a found list of one item (E.g.
https://docs.rs/syn/0.13.1/syn/struct.AngleBracketedGenericArguments.html?search=AngleBracketedGenericArguments )

(Loving the in-built search functionality btw! <3 )

(A-rustdoc, C-enhancement, T-dev-tools-rustdoc)

Metadata

Metadata

Labels

T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions