This commit is contained in:
jake 2022-05-15 19:59:38 -06:00 committed by andy
parent 95195d07e4
commit 6306120692

View File

@ -559,6 +559,7 @@ where
}).await }).await
} }
fn sort_inventory_items(character_id: CharacterEntityId, item_ids: Vec<ClientItemId>) fn sort_inventory_items(character_id: CharacterEntityId, item_ids: Vec<ClientItemId>)
-> impl for<'a> Fn((ItemStateProxy<'a>, Box<dyn EntityGatewayTransaction + 'a>), ()) -> impl for<'a> Fn((ItemStateProxy<'a>, Box<dyn EntityGatewayTransaction + 'a>), ())
-> Pin<Box<dyn Future<Output=Result<((ItemStateProxy<'a>, Box<dyn EntityGatewayTransaction + 'a>), ()), ItemStateError>> + Send + 'a>> -> Pin<Box<dyn Future<Output=Result<((ItemStateProxy<'a>, Box<dyn EntityGatewayTransaction + 'a>), ()), ItemStateError>> + Send + 'a>>
@ -576,8 +577,6 @@ fn sort_inventory_items(character_id: CharacterEntityId, item_ids: Vec<ClientIte
} }
} }
pub async fn sort_inventory<'a, EG> ( pub async fn sort_inventory<'a, EG> (
item_state: &'a mut ItemState, item_state: &'a mut ItemState,
entity_gateway: &mut EG, entity_gateway: &mut EG,