Skip to content

Reword {ptr,mem}::replace docs. - #51124

Merged
bors merged 1 commit into
rust-lang:masterfrom
frewsxcv:frewsxcv-replace
Jun 3, 2018
Merged

Reword {ptr,mem}::replace docs.#51124
bors merged 1 commit into
rust-lang:masterfrom
frewsxcv:frewsxcv-replace

Conversation

@frewsxcv

Copy link
Copy Markdown
Contributor

Fixes#50657.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @shepmaster

(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 May 28, 2018
@shepmaster

Copy link
Copy Markdown
Member

I'm not a fan of the phrase "behind the mutable {pointer,reference}", but this probably belongs to someone with more appropriate view of the docs.

r? @QuietMisdreavus

@QuietMisdreavus

Copy link
Copy Markdown
Contributor

I agree that the phrasing is a little awkward. How about:

Moves src into the (referenced|pointed) dest, returning the previous dest value.

@frewsxcv

Copy link
Copy Markdown
ContributorAuthor

I agree that the phrasing is a little awkward. How about:

Moves src into the (referenced|pointed) dest, returning the previous dest value.

sgtm! adjusted in the latest force push

@QuietMisdreavus

Copy link
Copy Markdown
Contributor

Thanks!

@bors r+ rollup

@bors

bors commented Jun 2, 2018

Copy link
Copy Markdown
Collaborator

📌 Commit 61b5bd2 has been approved by QuietMisdreavus

@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 Jun 2, 2018
Mark-Simulacrum added a commit to Mark-Simulacrum/rust that referenced this pull request Jun 2, 2018
bors added a commit that referenced this pull request Jun 2, 2018
Rollup of 6 pull requests
Successful merges:
- #50167 ( Add as_nanos function to Duration)
- #50919 (Provide more context for what the {f32,f64}::EPSILON values represent.)
- #51124 (Reword {ptr,mem}::replace docs.)
- #51147 (Stabilize SliceIndex trait.)
- #51291 (Fix typos of ‘ambiguous’)
- #51302 (Permit building rustdoc without compiler artifacts)
Failed merges:
@bors
bors merged commit 61b5bd2 into rust-lang:masterJun 3, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

@frewsxcv@rust-highfive@shepmaster@QuietMisdreavus@bors