Use match instead of comparison chain

This commit is contained in:
mo8it
2024-08-22 14:37:47 +02:00
parent bedf0789f2
commit 423b50b068
2 changed files with 4 additions and 10 deletions
-2
View File
@@ -1,5 +1,3 @@
#![allow(clippy::comparison_chain)]
#[derive(PartialEq, Debug)]
enum CreationError {
Negative,