about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-11-03 07:40:23 +0000
committerGitHub <noreply@github.com>2021-11-03 07:40:23 +0000
commit71f5dae4b62139e40d1f1954bff69575a188dbe6 (patch)
tree8750bccbc342c0f1b03e8712137e63cb53cfbdce /src/test/codegen/src-hash-algorithm
parent04f03a360ab8fef3d9c0ff84de2d39b8a196c717 (diff)
parent16d38ec8b8c35873f0d6838b4202a79e9273d8ab (diff)
downloadrust-71f5dae4b62139e40d1f1954bff69575a188dbe6.tar.gz
rust-71f5dae4b62139e40d1f1954bff69575a188dbe6.zip
Merge #10683
10683: minor: Use `.into_iter()` method on array to avoid dereference r=lnicola a=arzg

Arguably it’s nicer to just use `.into_iter()` instead of iterating over references which are immediately dereferenced.

I also changed the use of `String::from` to `.to_string()` because the latter has around twenty times more usages in rust-analyzer.

Co-authored-by: Aramis Razzaghipour <aramisnoah@gmail.com>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions