-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Use intra-doc links in core::future::future
and core::num::dec2flt
#75955
Use intra-doc links in core::future::future
and core::num::dec2flt
#75955
Conversation
r? @sfackler (rust_highfive has picked a reviewer for you, use r? to override) |
☔ The latest upstream changes (presumably #75947) made this pull request unmergeable. Please resolve the merge conflicts. |
library/core/src/future/future.rs
Outdated
/// [`Poll::Pending`]: Poll::Pending | ||
/// [`Poll::Ready(val)`]: Poll::Ready | ||
/// [`Waker`]: crate::task::Waker | ||
/// [`Waker::wake`]: crate::task::Waker::wake | ||
#[cfg_attr(not(bootstrap), lang = "poll")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pietroalbini This line is generating a merge conflict so I'm going to rebase this and have this line be the same as master
. Is that correct? Also, is there a section in the docs you can point me to on why this is changed at release time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some documentation on why cfg(boostrap)
and cfg(not(bootstrap))
are needed is on the rustc-dev-guide. That line should become:
#[lang = "poll"]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So was this a just-stabilized feature then?
da3b740
to
707298d
Compare
Rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with nit fixed
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
📌 Commit 39cd184 has been approved by |
…albini Rollup of 12 pull requests Successful merges: - rust-lang#75330 (Improve rendering of crate features via doc(cfg)) - rust-lang#75927 (Use intra-doc links in `core::macros`) - rust-lang#75941 (Clean up E0761 explanation) - rust-lang#75943 (Fix potential UB in align_offset doc examples) - rust-lang#75946 (Error use explicit intra-doc link and fix text) - rust-lang#75955 (Use intra-doc links in `core::future::future` and `core::num::dec2flt`) - rust-lang#75967 (Fix typo in `std::hint::black_box` docs) - rust-lang#75972 (Fix ICE due to carriage return w/ multibyte char) - rust-lang#75989 (Rename rustdoc/test -> rustdoc/doctest) - rust-lang#75996 (fix wording in release notes) - rust-lang#75998 (Add InstrProfilingPlatformFuchsia.c to profiler_builtins) - rust-lang#76000 (Adds --bless support to test/run-make-fulldeps) Failed merges: r? @ghost
Part of #75080.
@rustbot modify labels: A-intra-doc-links T-doc