From 58f29444ac234c285ce0e3a729ade2b52a303f58 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 21 Aug 2024 20:18:37 +0200 Subject: refactor(ecs): fix clippy lints --- ecs/src/util.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ecs/src/util.rs') diff --git a/ecs/src/util.rs b/ecs/src/util.rs index f4f8632..4480fc8 100644 --- a/ecs/src/util.rs +++ b/ecs/src/util.rs @@ -17,7 +17,7 @@ impl Sortable for [Item] Func: FnMut(&Self::Item) -> Key, Key: Ord, { - self.sort_by_key(func) + self.sort_by_key(func); } } @@ -30,7 +30,7 @@ impl Sortable for [Item; LENGTH] Func: FnMut(&Self::Item) -> Key, Key: Ord, { - self.sort_by_key(func) + self.sort_by_key(func); } } @@ -43,6 +43,6 @@ impl Sortable for Vec Func: FnMut(&Self::Item) -> Key, Key: Ord, { - self.sort_by_key(func) + self.sort_by_key(func); } } -- cgit v1.2.3-18-g5258