Problem with src links in std lib docs?


#1

Hello,

I am trying to learn by looking in the docs at some of the impls of things like liked lists in the std library - but when I follow source links in the docs I usually get 404s:

For example here:

https://doc.rust-lang.org/stable/std/collections/struct.LinkedList.html
if I click the link to “src” which is:
https://doc.rust-lang.org/stable/core_collections/linked_list/struct.LinkedList.html?gotosrc=2656

I get:
“Not FoundLooks like you’ve taken a wrong turn.Some things that might be helpful to you though:”

I just wanted to see if it was only me. :slightly_smiling:

Thanks!


#2

It’s not just you! This is a rustdoc bug. It involves almost anything that’s with collections, and has to do with how the types are re-exported. I can’t find the issue right now, as I’m on mobile.