Skip to content

Use Arc::clone and Rc::clone in documentation - #76128

Merged
bors merged 2 commits into
rust-lang:masterfrom
poliorcetics:doc-use-arc-clone
Sep 6, 2020
Merged

Use Arc::clone and Rc::clone in documentation#76128
bors merged 2 commits into
rust-lang:masterfrom
poliorcetics:doc-use-arc-clone

Conversation

@poliorcetics

Copy link
Copy Markdown
Contributor

This PR replaces uses of x.clone() by Rc::clone(&x) (or Arc::clone(&x)) to better match the documentation for those types.

@rustbot modify labels: T-doc

@rustbotrustbot added the A-docs Area: Documentation for any part of the project, including the compiler, standard library, and tools label Aug 30, 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 Aug 30, 2020
@Dylan-DPC-zz

Copy link
Copy Markdown

looks good to me, let's get someone from libs to check over this

r? @KodrAus

@rust-highfiverust-highfive assigned KodrAus and unassigned cramertjSep 4, 2020

@KodrAusKodrAus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @poliorcetics! This looks good to me

@KodrAus

Copy link
Copy Markdown
Contributor

@bors r+ rollup

@bors

bors commented Sep 4, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 6b75e3d has been approved by KodrAus

@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 Sep 4, 2020
matklad added a commit to matklad/rust that referenced this pull request Sep 4, 2020
…odrAus
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
@matkladmatklad mentioned this pull request Sep 4, 2020
matklad added a commit to matklad/rust that referenced this pull request Sep 4, 2020
…odrAus
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
@matkladmatklad mentioned this pull request Sep 4, 2020
matklad added a commit to matklad/rust that referenced this pull request Sep 4, 2020
…odrAus
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
@matkladmatklad mentioned this pull request Sep 4, 2020
matklad added a commit to matklad/rust that referenced this pull request Sep 4, 2020
…odrAus
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
@matkladmatklad mentioned this pull request Sep 4, 2020
matklad added a commit to matklad/rust that referenced this pull request Sep 4, 2020
…odrAus
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
@matkladmatklad mentioned this pull request Sep 4, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 4, 2020
…odrAus
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 4, 2020
…odrAus
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 5, 2020
…odrAus
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 5, 2020
…odrAus
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request Sep 5, 2020
…odrAus
Use Arc::clone and Rc::clone in documentation
This PR replaces uses of `x.clone()` by `Rc::clone(&x)` (or `Arc::clone(&x)`) to better match the documentation for those types.
@rustbot modify labels: T-doc
@bors

bors commented Sep 6, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 6b75e3d with merge aa81d32...

@bors

bors commented Sep 6, 2020

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-actions, checks-azure
Approved by: KodrAus
Pushing aa81d32 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Sep 6, 2020
@bors
bors merged commit aa81d32 into rust-lang:masterSep 6, 2020
@rustbotrustbot added this to the 1.48.0 milestone Sep 6, 2020
@poliorcetics
poliorcetics deleted the doc-use-arc-clone branch September 13, 2020 17:31
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 toolsmerged-by-borsThis PR was explicitly merged by bors.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.

7 participants

@poliorcetics@rust-highfive@Dylan-DPC-zz@KodrAus@bors@cramertj@rustbot