Skip to content
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

Rustdoc search does not find inherent methods on primitive types #23511

Closed
theemathas opened this Issue Mar 19, 2015 · 7 comments

Comments

Projects
None yet
9 participants
@theemathas
Copy link

theemathas commented Mar 19, 2015

Searching on rustdoc for a inherent method on a primitive type (e.g. width) does not find it, even if it exists.

cc #23104.

@tomjakubowski

This comment has been minimized.

Copy link
Contributor

tomjakubowski commented Mar 27, 2015

Probably a search index bug. The relevant code is in rustdoc::html::render, specifically the fold_item method of impl DocFolder for Cache, and the build_index function.

@aturon

This comment has been minimized.

Copy link
Member

aturon commented Apr 2, 2015

triage: I-nominated ()

Nominating for P-high, 1.0

@pnkfelix pnkfelix added this to the 1.0 milestone Apr 2, 2015

@pnkfelix

This comment has been minimized.

Copy link
Member

pnkfelix commented Apr 2, 2015

P-high, 1.0.

@pnkfelix pnkfelix added P-medium and removed I-nominated labels Apr 2, 2015

@pnkfelix

This comment has been minimized.

Copy link
Member

pnkfelix commented Apr 2, 2015

(this is a serious usability issue for clients of the language itself.)

@nrc nrc self-assigned this Apr 2, 2015

@nrc

This comment has been minimized.

Copy link
Member

nrc commented Apr 2, 2015

cc @cmr in case you want to take this, otherwise I'll keep it on my radar

@cmr

This comment has been minimized.

Copy link
Member

cmr commented Apr 7, 2015

@nrc I don't think I'll actually have any time for Rust in the next few weeks as my semester ends :\

@nrc nrc assigned alexcrichton and unassigned nrc Apr 7, 2015

@nrc

This comment has been minimized.

Copy link
Member

nrc commented Apr 7, 2015

Assigning to alex, since he is looking at rustdoc atm

alexcrichton added a commit to alexcrichton/rust that referenced this issue Apr 8, 2015

rustdoc: Index inherent methods on primitives
The set of types which can have an inherent impl changed slightly and rustdoc
just needed to catch up to understand what it means to see a `impl str`!

Closes rust-lang#23511
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.