From 230e21545e6af9cf22becf97b6a89dac716d5e7d Mon Sep 17 00:00:00 2001 From: Sweattypalms Date: Tue, 10 Sep 2024 22:40:16 +0900 Subject: [PATCH] Fixed elided named lifetimes warn --- src/ecs/component.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ecs/component.rs b/src/ecs/component.rs index 94a20b6e..6d5aee49 100644 --- a/src/ecs/component.rs +++ b/src/ecs/component.rs @@ -138,7 +138,7 @@ impl ComponentStorage { pub async fn get_mut<'a, T: Component>( &'a self, entity_id: impl TryInto, - ) -> Result> { + ) -> Result> { let type_id = TypeId::of::(); let entity_id = entity_id.try_into().map_err(|_| Error::ConversionError)?; let storage = self