mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 05:03:21 +00:00
Remove comment
Co-Authored-By: Philipp Krones <hello@philkrones.com>
This commit is contained in:
parent
633934da18
commit
65e9477b84
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
fn main() {
|
||||
let empty: [i8; 0] = [];
|
||||
empty[0]; // Ok, let rustc's `const_err` lint handle `usize` indexing on arrays.
|
||||
empty[0];
|
||||
&empty[1..5];
|
||||
&empty[0..=4];
|
||||
&empty[..=4];
|
||||
|
|
Loading…
Reference in a new issue