This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
rust-clippy
Watch
2
Star
0
Fork
You've already forked rust-clippy
0
mirror of
https://github.com/rust-lang/rust-clippy
synced
2024-11-24 13:43:17 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
96b32b1cb8
rust-clippy
/
tests
/
ui
/
obfuscated_if_else.fixed
8 lines
102 B
Rust
Raw
Normal View
History
Unescape
Escape
Merge commit 'a3ed905928a03b6e433d0b429190bf3a847128b3' into clippyup
2023-04-23 11:03:09 +00:00
//@run-rustfix
Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup
2022-07-28 17:08:22 +00:00
#![
warn(clippy::obfuscated_if_else)
]
fn
main
(
)
{
if
true
{
"
a
"
}
else
{
"
b
"
}
;
}
Reference in a new issue
Copy permalink