Skip to content

Use intra-doc links for links to module-level docs - #77870

Merged
bors merged 1 commit into
rust-lang:masterfrom
camelid:intra-doc-super
Oct 14, 2020
Merged

Use intra-doc links for links to module-level docs#77870
bors merged 1 commit into
rust-lang:masterfrom
camelid:intra-doc-super

Conversation

@camelid

Copy link
Copy Markdown
Member

@camelidcamelid added A-intra-doc-links Area: Intra-doc links, the ability to link to items in docs by name C-cleanup Category: PRs that clean code up or issues documenting cleanup. A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools labels Oct 12, 2020
@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 12, 2020
@camelid

Copy link
Copy Markdown
MemberAuthor

Note that I haven't yet checked in my browser to make sure the links are correct.

@camelidcamelid changed the title Use intra-doc links for superUse intra-doc links for links to module-level docsOct 12, 2020
Comment threadlibrary/core/src/cell.rs Outdated
Comment threadlibrary/core/src/cell.rs Outdated
Comment threadlibrary/core/src/cell.rs Outdated
Comment threadlibrary/core/src/cell.rs Outdated
Comment threadlibrary/core/src/result.rs Outdated
Comment threadlibrary/std/src/path.rs Outdated
Comment threadlibrary/std/src/path.rs Outdated
Comment threadlibrary/core/src/iter/sources.rs Outdated
Comment threadlibrary/alloc/src/alloc.rs Outdated
@jyn514

Copy link
Copy Markdown
Member

r=me with CI passing

@camelid

Copy link
Copy Markdown
MemberAuthor

I had to revert the changes to btree/{map.rs, set.rs} since the documentation linked to is in std, not alloc. Maybe it should be moved? Probably in a different PR though.

@jyn514

Copy link
Copy Markdown
Member

I had to revert the changes to btree/{map.rs, set.rs} since the documentation linked to is in std, not alloc. Maybe it should be moved?

It can't be moved because it links to HashMap which is only in std: 4065846

@jyn514

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Oct 13, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 95221b4 has been approved by jyn514

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 13, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 14, 2020
Rollup of 8 pull requests
Successful merges:
- rust-lang#77765 (Add LLVM flags to limit DWARF version to 2 on BSD)
- rust-lang#77788 (BTreeMap: fix gdb provider on BTreeMap with ZST keys or values)
- rust-lang#77795 (Codegen backend interface refactor)
- rust-lang#77808 (Moved the main `impl` for FnCtxt to its own file.)
- rust-lang#77817 (Switch rustdoc from `clean::Stability` to `rustc_attr::Stability`)
- rust-lang#77829 (bootstrap: only use compiler-builtins-c if they exist)
- rust-lang#77870 (Use intra-doc links for links to module-level docs)
- rust-lang#77897 (Move `Strip` into a separate rustdoc pass)
Failed merges:
- rust-lang#77879 (Provide better documentation and help messages for x.py setup)
- rust-lang#77902 (Include aarch64-pc-windows-msvc in the dist manifests)
r? `@ghost`
@bors
bors merged commit ed34f82 into rust-lang:masterOct 14, 2020
@rustbotrustbot added this to the 1.49.0 milestone Oct 14, 2020
@camelid
camelid deleted the intra-doc-super branch October 14, 2020 05:29
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameC-cleanupCategory: PRs that clean code up or issues documenting cleanup.S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@camelid@jyn514@bors@rust-highfive@rustbot