about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-09-28 13:40:05 +0000
committerbors <bors@rust-lang.org>2023-09-28 13:40:05 +0000
commitd18d01a8b1d2a204c3b901f0bbf3412fe1cc7957 (patch)
treee2c19cd3f0f6a472b5164543b927cfe1e1923a2b /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent29ed6fa11945d4333acd8eb72c8ee24f847ac8c7 (diff)
parentb413bf6c4ee671df153b930dc2ba5b159c652c1d (diff)
downloadrust-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-sha256.rs')
0 files changed, 0 insertions, 0 deletions