Skip to content

Add &mut as an alias for 'reference' primitive - #80068

Merged
bors merged 1 commit into
rust-lang:masterfrom
jyn514:mut-reference
Dec 19, 2020
Merged

Add &mut as an alias for 'reference' primitive#80068
bors merged 1 commit into
rust-lang:masterfrom
jyn514:mut-reference

Conversation

@jyn514

Copy link
Copy Markdown
Member

Closes#46075.

@jyn514jyn514 added A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools A-rustdoc-search Area: Rustdoc's search feature labels Dec 16, 2020
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @cramertj

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

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 16, 2020
@jyn514

Copy link
Copy Markdown
MemberAuthor

r? @m-ou-se

@m-ou-se

Copy link
Copy Markdown
Member

@bors r+ rollup

@bors

bors commented Dec 18, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 8fb553c has been approved by m-ou-se

@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 Dec 18, 2020
@jyn514jyn514 mentioned this pull request Dec 18, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Dec 19, 2020
Add `&mut` as an alias for 'reference' primitive
Closesrust-lang#46075.
@JohnTitorJohnTitor mentioned this pull request Dec 19, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 19, 2020
Rollup of 7 pull requests
Successful merges:
- rust-lang#78083 (Stabilize or_insert_with_key)
- rust-lang#79211 (Add the "async" and "promise" doc aliases to `core::future::Future`)
- rust-lang#79612 (Switch some links in compiler/ to intra-doc links)
- rust-lang#80068 (Add `&mut` as an alias for 'reference' primitive)
- rust-lang#80129 (docs: Edit rustc_ast::token::Token)
- rust-lang#80133 (Suppress `CONST_ITEM_MUTATION` lint if a dereference occurs anywhere)
- rust-lang#80155 (Fix typo)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit dbcf659 into rust-lang:masterDec 19, 2020
@rustbotrustbot added this to the 1.50.0 milestone Dec 19, 2020
@jyn514
jyn514 deleted the mut-reference branch December 19, 2020 12:31
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Dec 21, 2020
Add array search aliases
Missed this in rust-lang#80068. This one will really fixrust-lang#46075.
The last alias especially I'm a little unsure about - maybe fuzzy search should be fixed in rustdoc instead? Happy to make that change although I'd have to figure out how.
r? `@m-ou-se` although cc `@GuillaumeGomez` for the search issue.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Dec 21, 2020
Add array search aliases
Missed this in rust-lang#80068. This one will really fixrust-lang#46075.
The last alias especially I'm a little unsure about - maybe fuzzy search should be fixed in rustdoc instead? Happy to make that change although I'd have to figure out how.
r? ``@m-ou-se`` although cc ``@GuillaumeGomez`` for the search issue.
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-rustdoc-searchArea: Rustdoc's search featureS-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.

Searching "&" and "&mut" in stdlib api docs should show "reference (primitive)"

6 participants

@jyn514@rust-highfive@m-ou-se@bors@cramertj@rustbot