Fixed doc links for [T]::concat and [T]::join#152784
Fixed doc links for [T]::concat and [T]::join#152784asder8215 wants to merge 1 commit intorust-lang:mainfrom
Conversation
|
r? @joboet rustbot has assigned @joboet. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
c5cf6af to
67090b5
Compare
This comment has been minimized.
This comment has been minimized.
67090b5 to
03ae746
Compare
|
r? rustdoc |
|
Aren't relative paths working instead of adding JS in docs? |
See #151170. But for this to work on the doc website, we need to do |
|
On local it's |
When I go on the website and inspect the |
|
In any case, I think it should be fixed in rustdoc and not in the docs directly. |
|
Got it, I'll close this PR for now. Is there a place I should take a look in |
|
There was a discussion about this in #152917. That might be a good start. |

This PR fixes the issue mentioned in #151153. It does this through using a bit of JS to link it to
std::slice::concatandstd::slice::join, so it's a little bit of a hacky solution. See comment in the commit for reasoning on why we (afaik) intra doc link isn't working for this.