more anyhow
This commit is contained in:
parent
a2686e2be8
commit
ab8c5e6688
@ -977,7 +977,7 @@ where
|
|||||||
pub(super) fn add_item_to_local_floor<EG, TR>(
|
pub(super) fn add_item_to_local_floor<EG, TR>(
|
||||||
character_id: CharacterEntityId,
|
character_id: CharacterEntityId,
|
||||||
) -> impl Fn((ItemStateProxy, TR), FloorItem)
|
) -> impl Fn((ItemStateProxy, TR), FloorItem)
|
||||||
-> BoxFuture<Result<((ItemStateProxy, TR), FloorItem), ItemStateError>>
|
-> BoxFuture<Result<((ItemStateProxy, TR), FloorItem), anyhow::Error>>
|
||||||
where
|
where
|
||||||
EG: EntityGateway,
|
EG: EntityGateway,
|
||||||
TR: EntityGatewayTransaction<ParentGateway = EG> + 'static,
|
TR: EntityGatewayTransaction<ParentGateway = EG> + 'static,
|
||||||
|
@ -466,7 +466,7 @@ pub async fn enemy_drops_item<'a, EG> (
|
|||||||
entity_gateway: &mut EG,
|
entity_gateway: &mut EG,
|
||||||
character_id: CharacterEntityId,
|
character_id: CharacterEntityId,
|
||||||
item_drop: ItemDrop)
|
item_drop: ItemDrop)
|
||||||
-> Result<FloorItem, ItemStateError>
|
-> Result<FloorItem, anyhow::Error>
|
||||||
where
|
where
|
||||||
EG: EntityGateway + 'static,
|
EG: EntityGateway + 'static,
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user