about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-19 12:44:07 +0000
committerbors <bors@rust-lang.org>2022-04-19 12:44:07 +0000
commite17b97c8e02c7de0230466ec36bb9cceef9c774f (patch)
treef35843ed3247b4a7e7f47f5688600f19a1cb9584 /compiler/rustc_codegen_llvm/src
parentcbdf17c884116f17b1efe8c6dd3c41eb45d1342c (diff)
parentf19387d2371de497552fbf465acf9438084fe77b (diff)
downloadrust-e17b97c8e02c7de0230466ec36bb9cceef9c774f.tar.gz
rust-e17b97c8e02c7de0230466ec36bb9cceef9c774f.zip
Auto merge of #8711 - kyoto7250:new-lint-bytes-count-to-len, r=giraffate
Take over: New lint bytes count to len

take over #8375
close #8083

This PR adds new lint about  considering replacing `.bytes().count()` with `.len()`.

Thank you in advance.

---

r! `@Manishearth`

changelog: adds new lint [`bytes_count_to_len`] to consider replacing `.bytes().count()` with `.len()`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions