diff options
| author | bors <bors@rust-lang.org> | 2024-07-04 16:15:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-07-04 16:15:01 +0000 |
| commit | 2b01d6921290b0d5fdc3a781b0e5c15a44cadd15 (patch) | |
| tree | b4d70f50a9e778e46a3d6837088e16cb9aa410c4 /compiler/rustc_codegen_gcc/example/alloc_example.rs | |
| parent | d2400a49a43669025c37031791c1d200852ef160 (diff) | |
| parent | 88c4a224807144b535854b53fbd46e6dc18555a1 (diff) | |
| download | rust-2b01d6921290b0d5fdc3a781b0e5c15a44cadd15.tar.gz rust-2b01d6921290b0d5fdc3a781b0e5c15a44cadd15.zip | |
Auto merge of #10155 - TheNeikos:feature/add_byte_char_slice_lint, r=Manishearth
Add new lint for byte char slices This patch adds a new lint that checks for potentially harder to read byte char slices: `&[b'a', b'b']` and suggests to replace them with the easier to read `b"ab"` form. Fixes #10147 --- changelog: new lint: [`byte_char_slices`] [#10155](https://github.com/rust-lang/rust-clippy/pull/10155) <!-- changelog_checked -->
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
