diff options
| author | Ubuntu <github@matdoes.dev> | 2022-08-30 19:56:14 +0000 |
|---|---|---|
| committer | Ubuntu <github@matdoes.dev> | 2022-08-30 19:56:14 +0000 |
| commit | a6c5017e387954342a65358347cf89deead68944 (patch) | |
| tree | a1d92d6bb9da42262a2b64cd8e390c8c6e6cbbed /azalea-world/src/entity_storage.rs | |
| parent | 5f0fe9f29ed8f56c4a62ff89605623b74d8ec87b (diff) | |
| download | azalea-drasl-a6c5017e387954342a65358347cf89deead68944.tar.xz | |
clippy
Diffstat (limited to 'azalea-world/src/entity_storage.rs')
| -rw-r--r-- | azalea-world/src/entity_storage.rs | 2 |
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) } |
