Uh oh!
There was an error while loading. Please reload this page.
Use intra-doc links in core::macros - #75927
Conversation
rust-highfive
commented
Aug 25, 2020
r? @cramertj (rust_highfive has picked a reviewer for you, use r? to override) |
NOTE: the intra-doc links in From @jyn514:
|
jyn514
commented
Aug 26, 2020
I decided that |
camelid
commented
Aug 26, 2020
Makes sense to me :) |
jyn514
left a comment
There was a problem hiding this comment.
This uses doc(include = "panic.md"), so it should work fine when included. I'm all for verifying that though :)
rust/library/core/src/macros/mod.rs
Line 1 in bf43421
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
camelid
commented
Aug 26, 2020
Hmm, why is this happening? |
jyn514
commented
Aug 26, 2020
|
89949c4 to
99704e7CompareUh oh!
There was an error while loading. Please reload this page.
jyn514
left a comment
There was a problem hiding this comment.
r=me with nit addressed and CI passing
Uh oh!
There was an error while loading. Please reload this page.
jyn514
commented
Aug 26, 2020
Oops, my fault, sorry. |
camelid
commented
Aug 26, 2020
Do I have to use a non-intra-doc link for |
jyn514
commented
Aug 26, 2020
Yes, |
camelid
commented
Aug 26, 2020
That's what I thought. Should be all done now! |
jyn514
commented
Aug 26, 2020
Do you mind squashing the commits? |
Also cleaned up some things and added a few more links.
e11acd5 to
511ee05Comparecamelid
commented
Aug 26, 2020
Squashed! :) |
jyn514
commented
Aug 26, 2020
@bors r+ rollup Finally good to go 😆 |
bors
commented
Aug 26, 2020
📌 Commit 511ee05 has been approved by |
| [ounwrap]: Option::unwrap | ||
| [runwrap]: Result::unwrap |
There was a problem hiding this comment.
Why not just make the original version Option::unwrap and Result::unwrap by tweaking the text a bit?
There was a problem hiding this comment.
Let's make that a follow-up PR, this one's been through enough 😆
There was a problem hiding this comment.
I forgot my the last time I commented on a PR that needs a follow up PR, I wanted to go back to that but I forgot which PR is it.
There was a problem hiding this comment.
pickfire
commented
Aug 26, 2020
@pickfire clean up text when this is merged. |
…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.
Also cleaned up some things.
@rustbot modify labels: A-intra-doc-links T-doc T-rustdoc