mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
31 lines
428 B
Rust
31 lines
428 B
Rust
|
// run-rustfix
|
||
|
|
||
|
fn main() {
|
||
|
let x = 1;
|
||
|
let y = 2;
|
||
|
if x <= y {
|
||
|
// do something
|
||
|
}
|
||
|
if x <= y {
|
||
|
// do something
|
||
|
}
|
||
|
if x >= y {
|
||
|
// do something
|
||
|
}
|
||
|
if x >= y {
|
||
|
// do something
|
||
|
}
|
||
|
if x != y {
|
||
|
// do something
|
||
|
}
|
||
|
if x != y {
|
||
|
// do something
|
||
|
}
|
||
|
if x == y {
|
||
|
// do something
|
||
|
}
|
||
|
if x == y {
|
||
|
// do something
|
||
|
}
|
||
|
}
|