-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
std/core docs: fix wrong link in PartialEq #80864
Conversation
PartialEq doc was attempting to link to [`Eq`] but instead we got a link to `eq`. Disambiguate with "trait@Eq".
r? @m-ou-se (rust-highfive has picked a reviewer for you, use r? to override) |
@ericseppanen can you open an issue? This is a bug in rustdoc for several reasons:
|
It doesn't appear as though the underlying rustdoc behavior is likely to change soon, so I think this is ready to go in, unless someone still feels that |
Yep, this looks good to me. Thanks for noticing! @bors r+ rollup |
📌 Commit eef9587 has been approved by |
Rollup of 9 pull requests Successful merges: - rust-lang#79997 (Emit a reactor for cdylib target on wasi) - rust-lang#79998 (Use correct ABI for wasm32 by default) - rust-lang#80042 (Split a func into cold/hot parts, reducing binary size) - rust-lang#80324 (Explain method-call move errors in loops) - rust-lang#80864 (std/core docs: fix wrong link in PartialEq) - rust-lang#80870 (resolve: Simplify built-in macro table) - rust-lang#80885 (rustdoc: Resolve `&str` as `str`) - rust-lang#80904 (Fix small typo) - rust-lang#80923 (Merge different function exits) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
PartialEq doc was attempting to link to
[`Eq`]
but instead we got a link to`eq`
. Disambiguate withtrait@Eq
.You can see the bad link here (Second sentence, "floating point types implement PartialEq but not Eq").