about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-22 23:19:19 +0200
committerGitHub <noreply@github.com>2020-04-22 23:19:19 +0200
commit10e47f5b7b58e1413ddc7cbb3164138c15e9684e (patch)
tree943831e633e5f251207108aadea3a926f98f849b /src/test/codegen/src-hash-algorithm
parentb2e36e6c2d229126b59e892c9147fbb68115d292 (diff)
parent7fca9f809da1c65afa09e7d6e35b9599f87f03d3 (diff)
downloadrust-10e47f5b7b58e1413ddc7cbb3164138c15e9684e.tar.gz
rust-10e47f5b7b58e1413ddc7cbb3164138c15e9684e.zip
Rollup merge of #71256 - cuviper:must_use_replace, r=estebank
Lint must_use on mem::replace

This adds a hint on `mem::replace`, "if you don't need the old value,
you can just assign the new value directly". This is in similar spirit
to the `must_use` on `ManuallyDrop::take`.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions