diff options
| author | bors <bors@rust-lang.org> | 2023-09-18 21:31:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-18 21:31:48 +0000 |
| commit | 5cba09c5767e22b637aaeb966ae7b58ba5a85338 (patch) | |
| tree | 56047fe592f8ccca64b2ce373f77c0d4ca42439e /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 4022591cfd7890e3db8e477986d47a336cd230a7 (diff) | |
| parent | d9d25e98fca4085cfe062700f6ca465abc20a52d (diff) | |
| download | rust-5cba09c5767e22b637aaeb966ae7b58ba5a85338.tar.gz rust-5cba09c5767e22b637aaeb966ae7b58ba5a85338.zip | |
Auto merge of #11526 - Dev380:redundant-as-str, r=Manishearth
Add redundant_as_str lint This lint checks for `as_str` on a `String` immediately followed by `as_bytes` or `is_empty` as those methods are available on `String` too. This could possibly also be extended to `&[u8]` in the future. changelog: New lint [`redundant_as_str`] #11526
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
