summaryrefslogtreecommitdiff
path: root/ecs/src/util.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-08-21 20:18:37 +0200
committerHampusM <hampus@hampusmat.com>2024-08-21 20:18:37 +0200
commit58f29444ac234c285ce0e3a729ade2b52a303f58 (patch)
tree03bb210d62bf98acc1ee30ce9df1344d8239f7c6 /ecs/src/util.rs
parentc3c96f2d7b63d1d7e55f5a9a85da85444089c2a2 (diff)
refactor(ecs): fix clippy lints
Diffstat (limited to 'ecs/src/util.rs')
-rw-r--r--ecs/src/util.rs6
1 files changed, 3 insertions, 3 deletions
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<Item> 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<Item, const LENGTH: usize> 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<Item> Sortable for Vec<Item>
Func: FnMut(&Self::Item) -> Key,
Key: Ord,
{
- self.sort_by_key(func)
+ self.sort_by_key(func);
}
}