Skip to content

add links to interesting items in std::ptr documentation#35880

Closed
matthew-piziak wants to merge 1 commit into
rust-lang:masterfrom
matthew-piziak:ptr-linking
Closed

add links to interesting items in std::ptr documentation#35880
matthew-piziak wants to merge 1 commit into
rust-lang:masterfrom
matthew-piziak:ptr-linking

Conversation

@matthew-piziak

@matthew-piziak matthew-piziak commented Aug 21, 2016

Copy link
Copy Markdown
Contributor

Part of #29371.

r? @steveklabnik

Comment thread src/libcore/intrinsics.rs Outdated

Copy link
Copy Markdown
Member

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.)

@steveklabnik

Copy link
Copy Markdown
Contributor

@bors: r+ rollup

@bors

bors commented Aug 25, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit 33560ee has been approved by steveklabnik

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Aug 25, 2016
…klabnik

add links to interesting items in `std::ptr` documentation

r? @steveklabnik
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Aug 26, 2016
…klabnik

add links to interesting items in `std::ptr` documentation

r? @steveklabnik
steveklabnik added a commit to steveklabnik/rust that referenced this pull request Aug 26, 2016
…klabnik

add links to interesting items in `std::ptr` documentation

r? @steveklabnik
Manishearth added a commit to Manishearth/rust that referenced this pull request Aug 27, 2016
…klabnik

add links to interesting items in `std::ptr` documentation

r? @steveklabnik
@GuillaumeGomez

GuillaumeGomez commented Aug 29, 2016

Copy link
Copy Markdown
Member

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-

@matthew-piziak

Copy link
Copy Markdown
Contributor Author

@GuillaumeGomez What is the correct command to reproduce this breakage? I cannot reproduce with make docs.

@GuillaumeGomez

Copy link
Copy Markdown
Member
cd src/tools/linkchecker
cargo run ../../lib_you_want_to_check

@matthew-piziak

Copy link
Copy Markdown
Contributor Author

Have copy_memory and zero_memory been removed? (I wouldn't be surprised. They were experimental before.)

@GuillaumeGomez

Copy link
Copy Markdown
Member

Check on nigthly docs.

@matthew-piziak

Copy link
Copy Markdown
Contributor Author

@GuillaumeGomez I tried that. I'd expect to see them here: https://doc.rust-lang.org/nightly/std/mem/

@GuillaumeGomez

Copy link
Copy Markdown
Member

These two functions have been removed it seems, indeed.

@steveklabnik

Copy link
Copy Markdown
Contributor

Travis looks spurious, let's try with bors.

@bors: r+ rollup

@bors

bors commented Sep 1, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit b5ce02c has been approved by steveklabnik

sophiajt pushed a commit to sophiajt/rust that referenced this pull request Sep 2, 2016
…klabnik

add links to interesting items in `std::ptr` documentation

Part of rust-lang#29371.

r? @steveklabnik
sophiajt pushed a commit to sophiajt/rust that referenced this pull request Sep 2, 2016
…klabnik

add links to interesting items in `std::ptr` documentation

Part of rust-lang#29371.

r? @steveklabnik
@sophiajt

sophiajt commented Sep 2, 2016

Copy link
Copy Markdown
Contributor

@bors r-

Looks like there some breakages on x86_64-unknown-linux-gnu

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

@GuillaumeGomez

Copy link
Copy Markdown
Member

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

@steveklabnik

Copy link
Copy Markdown
Contributor

@matthew-piziak ping! still keeping up with this?

@matthew-piziak

Copy link
Copy Markdown
Contributor Author

@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.

@steveklabnik

Copy link
Copy Markdown
Contributor

Same as in the other thread, no worries, safe travels, let's close for now 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants