Skip to content

Conversation

A4-Tacks
Copy link
Contributor

Remove parameter reference.

Example

fn foo($0state: &bool) {
    if *state {}
}
fn bar() {
    let state = true;
    foo(&state);
}

->

fn foo(state: bool) {
    if state {}
}
fn bar() {
    let state = true;
    foo(state);
}

Remove parameter reference.

Example
---

```rust
fn foo($0state: &bool) {
    if *state {}
}
fn bar() {
    let state = true;
    foo(&state);
}
```
->
```rust
fn foo(state: bool) {
    if state {}
}
fn bar() {
    let state = true;
    foo(state);
}
```
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants