Use intra-doc links in core::marker#76261
Conversation
|
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
|
This whole rust/library/core/src/marker.rs Lines 339 to 340 in 2908ed6 |
| /// | ||
| /// [`mem::replace`]: ../../std/mem/fn.replace.html | ||
| /// [`mem::replace`]: crate::mem::replace | ||
| /// [Pin]: crate::pin::Pin |
There was a problem hiding this comment.
It looks like a few things were converted to intra-doc before!
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. |
| /// | ||
| /// [`mem::replace`]: ../../std/mem/fn.replace.html | ||
| /// [`mem::replace`]: crate::mem::replace | ||
| /// [Pin]: crate::pin::Pin |
|
r=me once CI passes |
|
r? @jyn514 |
|
@bors r+ rollup |
|
📌 Commit 7926435 has been approved by |
|
Hmm, bors is sleepy. |
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
Part of #75080.
Also cleaned up a few things.
@rustbot modify labels: A-intra-doc-links T-doc