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
As you can see, it says From<(u8, u8, u8, u8)> for Color2, despite saying Color1 everywhere else, including on the fn from(...) in the From implementation. I expected to get Color1 in the From<...> too.
The text was updated successfully, but these errors were encountered:
rustdoc will not try to do intra-doc linking if the "path"
of a link looks too much like a "real url".
however, only inline links ([text](url)) can actually contain
a url, other types of links (reference links, shortcut links)
contain a *reference* which is later resolved to an actual url.
the "path" in this case cannot be a url, and therefore it should
not be skipped due to looking like a url.
fixesrust-lang#66751
Here's a relatively minimal example that demonstrates the problem:
If you run
cargo doc
on this, you'll get this:As you can see, it says
From<(u8, u8, u8, u8)> for Color2
, despite sayingColor1
everywhere else, including on thefn from(...)
in theFrom
implementation. I expected to getColor1
in theFrom<...>
too.The text was updated successfully, but these errors were encountered: