about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-15 21:51:24 +0000
committerbors <bors@rust-lang.org>2022-05-15 21:51:24 +0000
commit6ec735962f0c948e6971f12fc5f4279f7c1a8c28 (patch)
treeea6a46e6b017390da6a6c38c8065a0f2264be639 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent1c0a61e7ce7d980deb801156af12cd14d95a1b94 (diff)
parentf1574cc1319cbf4cd915568f0dc165815de93caf (diff)
downloadrust-6ec735962f0c948e6971f12fc5f4279f7c1a8c28.tar.gz
rust-6ec735962f0c948e6971f12fc5f4279f7c1a8c28.zip
Auto merge of #8699 - Jarcho:vec_init_then_push_7071, r=dswij,xFrednet
Don't lint `vec_init_then_push` when further extended

fixes #7071

This will still lint when a larger number of pushes are done (four currently). The exact number could be debated, but this is more readable then a sequence of pushes so it shouldn't be too large.

changelog: Don't lint `vec_init_then_push` when further extended.
changelog: Remove `mut` binding from `vec_init_then_push` when possible.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions