diff options
| author | Dev381 <49997896+Dev380@users.noreply.github.com> | 2023-09-17 17:50:45 -0400 |
|---|---|---|
| committer | Dev381 <49997896+Dev380@users.noreply.github.com> | 2023-09-17 17:50:45 -0400 |
| commit | 1c9f3bef8bb80dc8706e4595a262fe8825ccf74a (patch) | |
| tree | 4fe9926c96ad7cbdcb2f33b97c91bd30b4f0f37c /tests/ui/patchable-function-entry/patchable-function-entry-flags.rs | |
| parent | 251a475b724a81ffcfd0113820492a329feeef5c (diff) | |
| download | rust-1c9f3bef8bb80dc8706e4595a262fe8825ccf74a.tar.gz rust-1c9f3bef8bb80dc8706e4595a262fe8825ccf74a.zip | |
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.
Diffstat (limited to 'tests/ui/patchable-function-entry/patchable-function-entry-flags.rs')
0 files changed, 0 insertions, 0 deletions
