Skip to content

Remove & from Command::args calls in documentation - #86803

Merged
bors merged 1 commit into
rust-lang:masterfrom
sugar700:remove-unnecessary-ampersand-from-command-args-calls
Jul 2, 2021
Merged

Remove & from Command::args calls in documentation#86803
bors merged 1 commit into
rust-lang:masterfrom
sugar700:remove-unnecessary-ampersand-from-command-args-calls

Conversation

@sugar700

Copy link
Copy Markdown
Contributor

Now that arrays implement IntoIterator, using & is no longer necessary. This makes examples easier to understand.

Now that arrays implement `IntoIterator`, using
`&` is no longer necessary. This makes examples
easier to understand.
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @joshtriplett

(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 Jul 2, 2021
@joshtriplett

Copy link
Copy Markdown
Member

Seems reasonable to me. r=me if it passes CI.

@jyn514

Copy link
Copy Markdown
Member

@bors r=joshtriplett rollup

@bors

bors commented Jul 2, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 18715c0 has been approved by joshtriplett

@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 Jul 2, 2021
@JohnTitorJohnTitor mentioned this pull request Jul 2, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 2, 2021
Rollup of 7 pull requests
Successful merges:
- rust-lang#84029 (add `track_path::path` fn for usage in `proc_macro`s)
- rust-lang#85001 (Merge `sys_common::bytestring` back into `os_str_bytes`)
- rust-lang#86308 (Docs: clarify that certain intrinsics are not unsafe)
- rust-lang#86796 (Add a regression test for issue-70703)
- rust-lang#86803 (Remove & from Command::args calls in documentation)
- rust-lang#86807 (Fix double import in wasm thread )
- rust-lang#86813 (Add a help message to `unused_doc_comments` lint)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 6107340 into rust-lang:masterJul 2, 2021
@rustbotrustbot added this to the 1.55.0 milestone Jul 2, 2021
github-actionsBot pushed a commit to tautschnig/verify-rust-std that referenced this pull request Mar 11, 2025
…rom-command-args-calls, r=joshtriplett
Remove & from Command::args calls in documentation
Now that arrays implement `IntoIterator`, using `&` is no longer necessary. This makes examples easier to understand.
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.

6 participants

@sugar700@rust-highfive@joshtriplett@jyn514@bors@rustbot