Skip to content
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

More symbolic doc aliases #88594

Merged
merged 4 commits into from
Sep 8, 2021
Merged

Conversation

steffahn
Copy link
Member

@steffahn steffahn commented Sep 2, 2021

A bunch of small changes, mostly adding #[doc(alias = "…")] entries for symbolic "…".

Also a small change in documentation of const keywords.

@rust-highfive
Copy link
Collaborator

r? @Mark-Simulacrum

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 2, 2021
library/core/src/ops/bit.rs Outdated Show resolved Hide resolved
@Mark-Simulacrum
Copy link
Member

Going to reassign to @joshtriplett for T-libs(-api?) discussion -- seems like some interpretation of the doc alias policy for symbols is needed.

@steffahn
Copy link
Member Author

steffahn commented Sep 5, 2021

(in review above)

IMO, this whole PR should be closed

I’d want to at least keep 49c680a, ab89c88, 56634a1, and part of 0a56598 though.

For 0a56598 I’d want to keep *, *const, and *mut for now with the intention of * being removed at a later time. Though the inclusion of * can be debated.

I’ll do that in a rebase -i + force-push, I guess… Review hasn’t really addressed any of these changes yet anyway. After rebase I’ll resolve the reviews on the removed changes.

@jyn514
Copy link
Member

jyn514 commented Sep 5, 2021

so it doesn't get lost in the resolved thread - the link to rustdoc's fuzzy search is

function levenshtein(s1, s2) {

@joshtriplett
Copy link
Member

The remaining items look reasonable to me.

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Sep 6, 2021

📌 Commit 5135d86 has been approved by joshtriplett

@bors bors 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 Sep 6, 2021
@the8472 the8472 added the T-libs Relevant to the library team, which will review and decide on the PR/issue. label Sep 8, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Sep 8, 2021
Rollup of 9 pull requests

Successful merges:

 - rust-lang#86263 (Rustdoc: Report Layout of enum variants)
 - rust-lang#88541 (Add regression test for rust-lang#74400)
 - rust-lang#88553 (Improve diagnostics for unary plus operators (rust-lang#88276))
 - rust-lang#88594 (More symbolic doc aliases)
 - rust-lang#88648 (Correct “copies” to “moves” in `<Option<T> as From<T>>::from` doc, and other copyediting)
 - rust-lang#88691 (Add a regression test for rust-lang#88649)
 - rust-lang#88694 (Drop 1.56 stabilizations from 1.55 release notes)
 - rust-lang#88712 (Fix docs for `uX::checked_next_multiple_of`)
 - rust-lang#88726 (Fix typo in `const_generics` replaced with `adt_const_params` note)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit b1c782f into rust-lang:master Sep 8, 2021
@rustbot rustbot added this to the 1.57.0 milestone Sep 8, 2021
@steffahn steffahn deleted the more_symbolic_doc_aliases branch September 8, 2021 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants