You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, the code snippet for std::str::StrExt::split shows an arrow in the top-right when hovered over with the mouse. The arrow is a link to the following page with suspicious muffin-related content. This seems to be the snippet for the std::str::StrExt::replace function (which is also the first function on the page with example code). All other code snippets on the page lead to the same muffin code.
This is on Chrome 39.0.2171.95 (64-bit) on Mac OS X 10.10.1.
The text was updated successfully, but these errors were encountered:
you see that it depends on all the same ids being different. However, if you look at the source of the StrExt example you linked, you see they all have "rust-example-rendered-0" as the id.
but it's not obvious to me how to fix it. I'll look into the issue, but this is my first little bit of work on rust so it may take a second/I'd appreciate insight as to what the problem might be.
In #20732, that all links in some modules point to the same code
examples was reported. The ID's generated for documents in
librustdoc are not all unique, which means the code rendered as
text is not being properly selected.
This change makes the link to the code section that is next to
the current link.
For example, the code snippet for
std::str::StrExt::split
shows an arrow in the top-right when hovered over with the mouse. The arrow is a link to the following page with suspicious muffin-related content. This seems to be the snippet for thestd::str::StrExt::replace
function (which is also the first function on the page with example code). All other code snippets on the page lead to the same muffin code.This is on Chrome 39.0.2171.95 (64-bit) on Mac OS X 10.10.1.
The text was updated successfully, but these errors were encountered: