-
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
add links to interesting items in std::ptr
documentation
#35880
Conversation
@@ -224,15 +224,17 @@ extern "rust-intrinsic" { | |||
/// trait objects, because they can't be read out onto the stack and | |||
/// dropped normally. | |||
/// | |||
/// * It is friendlier to the optimizer to do this over `ptr::read` when | |||
/// * It is friendlier to the optimizer to do this over [`ptr::read`] when | |||
/// dropping manually allocated memory (e.g. when writing Box/Rc/Vec), |
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.
Can you add urls for Box, Rc and Vec as well please? (If you really don't want to, I won't bother you with it.)
d9530c4
to
33560ee
Compare
@bors: r+ rollup |
📌 Commit 33560ee has been approved by |
…klabnik add links to interesting items in `std::ptr` documentation r? @steveklabnik
…klabnik add links to interesting items in `std::ptr` documentation r? @steveklabnik
…klabnik add links to interesting items in `std::ptr` documentation r? @steveklabnik
…klabnik add links to interesting items in `std::ptr` documentation r? @steveklabnik
Broken: std\ptr\fn.read.html:59: broken link - std\ptr\fn.zero_memory.html
std\ptr\fn.read.html:59: broken link - std\ptr\fn.copy_memory.html
std\ptr\fn.read_volatile.html:69: broken link - std\ptr\fn.zero_memory.html
std\ptr\fn.read_volatile.html:69: broken link - std\ptr\fn.copy_memory.html (and some others) @bors: r- |
@GuillaumeGomez What is the correct command to reproduce this breakage? I cannot reproduce with |
cd src/tools/linkchecker
cargo run ../../lib_you_want_to_check |
Have |
Check on nigthly docs. |
@GuillaumeGomez I tried that. I'd expect to see them here: https://doc.rust-lang.org/nightly/std/mem/ |
These two functions have been removed it seems, indeed. |
Travis looks spurious, let's try with bors. @bors: r+ rollup |
📌 Commit b5ce02c has been approved by |
…klabnik add links to interesting items in `std::ptr` documentation Part of rust-lang#29371. r? @steveklabnik
…klabnik add links to interesting items in `std::ptr` documentation Part of rust-lang#29371. r? @steveklabnik
@bors r- Looks like there some breakages on x86_64-unknown-linux-gnu
|
e3bc6bd
to
e0e7b7e
Compare
e0e7b7e
to
60b799a
Compare
Failed: core/intrinsics/fn.drop_in_place.html:59: broken link - core/intrinsics/fn.read.html
core/intrinsics/fn.drop_in_place.html:61: broken link - core/boxed/struct.Box.html
core/intrinsics/fn.drop_in_place.html:61: broken link - core/rc/struct.Rc.html
core/intrinsics/fn.drop_in_place.html:61: broken link - core/vec/struct.Vec.html
core/intrinsics/fn.drop_in_place.html:66: broken link - core/intrinsics/fn.read.html
std/intrinsics/fn.drop_in_place.html:59: broken link - std/intrinsics/fn.read.html
std/intrinsics/fn.drop_in_place.html:66: broken link - std/intrinsics/fn.read.html
thread 'main' panicked at 'found some broken links', src/tools/linkchecker/main.rs:54 |
@matthew-piziak ping! still keeping up with this? |
@steveklabnik Sorry, I've been traveling for the past three weeks. I should be back in the game around 7 October. Right now this PR is soft-blocking on #36417. Feel free to close; I'll keep the branch alive on my fork. |
Same as in the other thread, no worries, safe travels, let's close for now 😄 |
Part of #29371.
r? @steveklabnik