From 2c54ad895dd6fea34616ff52fc042569687a4f81 Mon Sep 17 00:00:00 2001 From: Valentin Tolmer Date: Fri, 15 Dec 2023 23:28:50 +0100 Subject: [PATCH] chore: clippy --- server/src/domain/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/domain/types.rs b/server/src/domain/types.rs index 2c9270a..8961cfe 100644 --- a/server/src/domain/types.rs +++ b/server/src/domain/types.rs @@ -261,7 +261,7 @@ macro_rules! make_case_insensitive_comparable_string { impl PartialOrd for $c { fn partial_cmp(&self, other: &Self) -> Option { - Some(compare_str_case_insensitive(&self.0, &other.0)) + Some(self.cmp(other)) } }