Skip to content

Conversation

@A4-Tacks
Copy link
Member

Example

fn foo() {
    let n = 2;
    let s = "n: {n$0}";
}

->

fn foo() {
    let n = 2;
    let s = format!("n: {n}");
}

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 28, 2025
Example
---
```rust
fn foo() {
    let n = 2;
    let s = "n: {n$0}";
}
```
->
```rust
fn foo() {
    let n = 2;
    let s = format!("n: {n}");
}
```
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