mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 13:13:34 +00:00
Test for unnecessary_cast of hex int literal.
This commit is contained in:
parent
36b65986af
commit
9ff4581cd3
2 changed files with 2 additions and 0 deletions
|
@ -14,4 +14,5 @@ fn main() {
|
|||
&v as &[i32];
|
||||
1.0 as f64;
|
||||
1 as u64;
|
||||
0x42 as f32;
|
||||
}
|
||||
|
|
|
@ -14,4 +14,5 @@ fn main() {
|
|||
&v as &[i32];
|
||||
1.0 as f64;
|
||||
1 as u64;
|
||||
0x42 as f32;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue