diff options
Diffstat (limited to 'clippy.toml')
| -rw-r--r-- | clippy.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clippy.toml b/clippy.toml index 81e372a..4a5dd06 100644 --- a/clippy.toml +++ b/clippy.toml @@ -10,4 +10,7 @@ disallowed-methods = [ "std::collections::HashSet::with_capacity", # Inefficient. Use `.queue(…)` instead. "crossterm::style::style", + # Use `thread::Builder::spawn` instead and handle the error. + "std::thread::spawn", + "std::thread::Scope::spawn", ] |
