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 21:53:23 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
af3346a85f
rust-clippy
/
tests
/
ui
/
exit3.rs
9 lines
117 B
Rust
Raw
Normal View
History
Unescape
Escape
Rewrite empty_line_after_doc_comments and empty_line_after_outer_attr
2024-08-24 17:43:34 +00:00
#![
warn(clippy::exit)
]
Update tests for exit
2019-10-29 20:34:00 +00:00
fn
main
(
)
{
if
true
{
std
::
process
::
exit
(
2
)
;
}
;
std
::
process
::
exit
(
1
)
;
}
Reference in a new issue
Copy permalink