diff options
| author | bors <bors@rust-lang.org> | 2023-09-28 13:40:05 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-28 13:40:05 +0000 |
| commit | d18d01a8b1d2a204c3b901f0bbf3412fe1cc7957 (patch) | |
| tree | e2c19cd3f0f6a472b5164543b927cfe1e1923a2b /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 29ed6fa11945d4333acd8eb72c8ee24f847ac8c7 (diff) | |
| parent | b413bf6c4ee671df153b930dc2ba5b159c652c1d (diff) | |
| download | rust-d18d01a8b1d2a204c3b901f0bbf3412fe1cc7957.tar.gz rust-d18d01a8b1d2a204c3b901f0bbf3412fe1cc7957.zip | |
Auto merge of #11576 - koka831:fix/10128, r=llogiq
write_literal: Fix index of the remaining positional arguments
- fixes https://github.com/rust-lang/rust-clippy/issues/10128
- `clippy --fix` replaces multiple warnings at once
e.g.)
```rust
writeln!(v, "{0} {1}", "hello", "world");
// before: `writeln!(v, "hello {1}", "world");`
// now: `writeln!(v, "hello world");`
```
changelog: [`print_literal`], [`write_literal`]: Now handles positional argument properly
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
