aboutsummaryrefslogtreecommitdiff
path: root/azalea-world/src/entity_storage.rs
diff options
context:
space:
mode:
authorUbuntu <github@matdoes.dev>2022-08-30 19:56:14 +0000
committerUbuntu <github@matdoes.dev>2022-08-30 19:56:14 +0000
commita6c5017e387954342a65358347cf89deead68944 (patch)
treea1d92d6bb9da42262a2b64cd8e390c8c6e6cbbed /azalea-world/src/entity_storage.rs
parent5f0fe9f29ed8f56c4a62ff89605623b74d8ec87b (diff)
downloadazalea-drasl-a6c5017e387954342a65358347cf89deead68944.tar.xz
clippy
Diffstat (limited to 'azalea-world/src/entity_storage.rs')
-rw-r--r--azalea-world/src/entity_storage.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-world/src/entity_storage.rs b/azalea-world/src/entity_storage.rs
index c7fd9c0b..4dd3ec12 100644
--- a/azalea-world/src/entity_storage.rs
+++ b/azalea-world/src/entity_storage.rs
@@ -63,7 +63,7 @@ impl EntityStorage {
/// Get a mutable reference to an entity by its id.
#[inline]
- pub fn get_mut_by_id<'d>(&'d mut self, id: u32) -> Option<&'d mut EntityData> {
+ pub fn get_mut_by_id(&mut self, id: u32) -> Option<&mut EntityData> {
self.data_by_id.get_mut(&id)
}