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-12-19 01:24:05 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
4bb4cc6fcb
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