This commit is contained in:
jake 2022-05-15 19:59:38 -06:00
parent 725ba5d917
commit a664b17f2e

View File

@ -559,6 +559,7 @@ where
}).await
}
fn sort_inventory_items(character_id: CharacterEntityId, item_ids: Vec<ClientItemId>)
-> 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>>
@ -576,8 +577,6 @@ fn sort_inventory_items(character_id: CharacterEntityId, item_ids: Vec<ClientIte
}
}
pub async fn sort_inventory<'a, EG> (
item_state: &'a mut ItemState,
entity_gateway: &mut EG,