Skip to content

Remove unneeded ref from docs - #65600

Merged
bors merged 1 commit into
rust-lang:masterfrom
integer32llc:bye-bye-ref
Oct 20, 2019
Merged

Remove unneeded ref from docs#65600
bors merged 1 commit into
rust-lang:masterfrom
integer32llc:bye-bye-ref

Conversation

@carols10cents

Copy link
Copy Markdown
Member

Will reduce confusion like in https://users.rust-lang.org/t/help-understanding-the-ref-t-syntax/33779 since match ergonomics means you (almost) never have to say ref anymore!

There might be more like this, but I don't have a checkout on my computer right this second and I'm on slow wifi and GitHub search isn't powerful enough and that's my story.

Will reduce confusion like in https://users.rust-lang.org/t/help-understanding-the-ref-t-syntax/33779 since match ergonomics means you (almost) never have to say `ref` anymore!
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @KodrAus

(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 Oct 19, 2019
@Centril

Copy link
Copy Markdown
Contributor

r? @Centril@bors r+ rollup

@bors

bors commented Oct 19, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 4ea1a19 has been approved by Centril

@rust-highfiverust-highfive assigned Centril and unassigned KodrAusOct 19, 2019
@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 19, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 19, 2019
Remove unneeded `ref` from docs
Will reduce confusion like in https://users.rust-lang.org/t/help-understanding-the-ref-t-syntax/33779 since match ergonomics means you (almost) never have to say `ref` anymore!
There might be more like this, but I don't have a checkout on my computer right this second and I'm on slow wifi and GitHub search isn't powerful enough and that's my story.
@CentrilCentril mentioned this pull request Oct 19, 2019
Centril added a commit to Centril/rust that referenced this pull request Oct 20, 2019
Remove unneeded `ref` from docs
Will reduce confusion like in https://users.rust-lang.org/t/help-understanding-the-ref-t-syntax/33779 since match ergonomics means you (almost) never have to say `ref` anymore!
There might be more like this, but I don't have a checkout on my computer right this second and I'm on slow wifi and GitHub search isn't powerful enough and that's my story.
@CentrilCentril mentioned this pull request Oct 20, 2019
bors added a commit that referenced this pull request Oct 20, 2019
Rollup of 6 pull requests
Successful merges:
- #64996 (Inline `ptr::null(_mut)` even in debug builds)
- #65551 (Avoid realloc in `CString::new`)
- #65593 (add test for calling non-const fn)
- #65595 (move `parse_cfgspecs` to `rustc_interface`)
- #65600 (Remove unneeded `ref` from docs)
- #65602 (Fix plural mistake in emitter.rs)
Failed merges:
r? @ghost
@bors
bors merged commit 4ea1a19 into rust-lang:masterOct 20, 2019
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

@carols10cents@rust-highfive@Centril@bors@KodrAus