-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Use intra-doc links in core::marker
#76261
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::marker
#76261
Conversation
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
All reactions
Sorry, something went wrong.
This whole rust/library/core/src/marker.rs Lines 339 to 340 in 2908ed6
|
All reactions
Sorry, something went wrong.
/// | ||
/// [`mem::replace`]: ../../std/mem/fn.replace.html | ||
/// [`mem::replace`]: crate::mem::replace | ||
/// [Pin]: crate::pin::Pin |
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.
It looks like a few things were converted to intra-doc before!
Sorry, something went wrong.
All reactions
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.
Thank matklad :) #75780
Sorry, something went wrong.
All reactions
-
🚀 1 reaction
Yeah this is a confusing way to word it. I think it's trying to say that it owns something the compiler doesn't know about, like a file descriptor or a pointer, as to opposed to types without a custom Drop that you can destructure. |
All reactions
Sorry, something went wrong.
/// | ||
/// [`mem::replace`]: ../../std/mem/fn.replace.html | ||
/// [`mem::replace`]: crate::mem::replace | ||
/// [Pin]: crate::pin::Pin |
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.
Thank matklad :) #75780
Sorry, something went wrong.
All reactions
-
🚀 1 reaction
r=me once CI passes |
All reactions
Sorry, something went wrong.
r? @jyn514 |
All reactions
Sorry, something went wrong.
@bors r+ rollup |
All reactions
-
❤️ 1 reaction
Sorry, something went wrong.
📌 Commit 7926435 has been approved by |
All reactions
Sorry, something went wrong.
Hmm, bors is sleepy. |
All reactions
-
😄 1 reaction
Sorry, something went wrong.
Rollup of 12 pull requests Successful merges: - rust-lang#75150 (Add a note for Ipv4Addr::to_ipv6_compatible) - rust-lang#76120 (Add `[T; N]::as_[mut_]slice`) - rust-lang#76142 (Make all methods of `std::net::Ipv4Addr` const) - rust-lang#76164 (Link to slice pattern in array docs) - rust-lang#76167 (Replace MinGW library hack with heuristic controlling link mode) - rust-lang#76204 (Rename and expose LoopState as ControlFlow) - rust-lang#76238 (Move to intra-doc links for library/core/src/iter/traits/iterator.rs) - rust-lang#76242 (Read: adjust a FIXME reference) - rust-lang#76243 (Fix typos in vec try_reserve(_exact) docs) - rust-lang#76245 (inliner: Avoid query cycles when optimizing generators) - rust-lang#76255 (Update books) - rust-lang#76261 (Use intra-doc links in `core::marker`) Failed merges: r? @ghost
Reviewers
1 more reviewer
jyn514
Assignees
Labels
Projects
Milestone
1.48.0Development
Successfully merging this pull request may close these issues.
Part of #75080.
Also cleaned up a few things.
@rustbot modify labels: A-intra-doc-links T-doc