diff options
| author | A4-Tacks <wdsjxhno1001@163.com> | 2025-08-10 14:37:35 +0800 |
|---|---|---|
| committer | A4-Tacks <wdsjxhno1001@163.com> | 2025-08-10 14:45:54 +0800 |
| commit | 8c0f4b40803a6d0c6ed6525026217c8d2532d205 (patch) | |
| tree | 37588a7122b1474b0c4a58dda3328bd79c0d7f19 /tests/rustdoc-ui/coverage/json.rs | |
| parent | eca31528356d9721d9f4dc727da1bda20dfee932 (diff) | |
| download | rust-8c0f4b40803a6d0c6ed6525026217c8d2532d205.tar.gz rust-8c0f4b40803a6d0c6ed6525026217c8d2532d205.zip | |
Fix extract_expressions_from_format_string on write!
**Input**:
```rust
fn main() {
write!(f, "{2+3}$0")
}
```
**Old output**:
```rust
fn main() {
write!("{}"$0, 2+3)
}
```
**This PR output**:
```rust
fn main() {
write!(f, "{}"$0, 2+3)
}
```
Diffstat (limited to 'tests/rustdoc-ui/coverage/json.rs')
0 files changed, 0 insertions, 0 deletions
