diff options
| author | mo8it <mo8it@proton.me> | 2024-08-22 14:37:47 +0200 |
|---|---|---|
| committer | mo8it <mo8it@proton.me> | 2024-08-22 14:37:47 +0200 |
| commit | 423b50b068f7cb489e4c5f241b696491419620c1 (patch) | |
| tree | 42641eb150da8af0db5b289a81ae4bb182992e24 /exercises | |
| parent | bedf0789f2129f333cc1af14775c40d7312297f5 (diff) | |
Use match instead of comparison chain
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/13_error_handling/errors4.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/exercises/13_error_handling/errors4.rs b/exercises/13_error_handling/errors4.rs index e41d594..ba01e54 100644 --- a/exercises/13_error_handling/errors4.rs +++ b/exercises/13_error_handling/errors4.rs @@ -1,5 +1,3 @@ -#![allow(clippy::comparison_chain)] - #[derive(PartialEq, Debug)] enum CreationError { Negative, |
