-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Intra-doc links should work for deref methods #75643
Comments
Note that this currently means |
I need to get back to the fix and understand what changes between the two. |
FWIW I don't think this ever worked, it just wasn't implemented. |
It never did, I was referring to my PR to fix primitive discoverability. |
I'm against this, |
I'm ok with saying we should fix linking to primitives instead, but it's not as simple as 'allow slice to exist as a string', see #63351 (comment). |
Move to intra-doc links for task.rs and vec.rs Partial fix for rust-lang#75080 links for [`get`], [`get_mut`] skipped due to rust-lang#75643 link for [`copy_from_slice`] skipped due to rust-lang#63351
|
Yeah, that seems reasonable. |
I tried this code:
I expected to see this happen: A link to https://doc.rust-lang.org/std/vec/struct.Vec.html#method.get
Instead, this happened: The link wasn't resolved, because
get
is a method on slices, notVec
itself.The text was updated successfully, but these errors were encountered: