Skip to content

Trailing whitespace lead to no matches #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Boscop opened this issue Sep 20, 2017 · 2 comments
Closed

Trailing whitespace lead to no matches #156

Boscop opened this issue Sep 20, 2017 · 2 comments
Labels
A-crate-search Area: A problem or feature request for searching crates

Comments

@Boscop
Copy link

Boscop commented Sep 20, 2017

On mobile devices, auto complete often inserts a trailing space after selecting a word.
When searching for "cratename " on docs.rs, it doesn't find the crate named "cratename" which is frustrating...
It would be helpful if the search could be made more forgiving by e.g. trimming the trailing whitespace.

@bluss
Copy link
Member

bluss commented Oct 24, 2019

I ran across this bug today. The message that is given for no matches is The requested resource does not exist, which gives the impression that there was an error, not just that no results matched the search.

Test url for search 'ndarray '

@jyn514 jyn514 added the A-crate-search Area: A problem or feature request for searching crates label Feb 1, 2020
@jyn514
Copy link
Member

jyn514 commented May 8, 2020

Fixed in #721

@jyn514 jyn514 closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-crate-search Area: A problem or feature request for searching crates
Projects
None yet
Development

No branches or pull requests

3 participants