summaryrefslogtreecommitdiff
path: root/clippy.toml
diff options
context:
space:
mode:
Diffstat (limited to 'clippy.toml')
-rw-r--r--clippy.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/clippy.toml b/clippy.toml
index 4a5dd06..11ec6cc 100644
--- a/clippy.toml
+++ b/clippy.toml
@@ -13,4 +13,6 @@ disallowed-methods = [
# Use `thread::Builder::spawn` instead and handle the error.
"std::thread::spawn",
"std::thread::Scope::spawn",
+ # Return `ExitCode` instead.
+ "std::process::exit",
]