From 495749ff85c0b0dc9750a7fb709ac55208f8e66a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 30 Apr 2022 12:46:08 +0100 Subject: [PATCH] Drop an unneeded lifetime argument This is not needed. (I'm not sure whether I did this because ambassador didn't like the lifetime argument, or just because I saw it in passing.) Signed-off-by: Ian Jackson --- src/gamestate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamestate.rs b/src/gamestate.rs index 0c67d77a..8460504b 100644 --- a/src/gamestate.rs +++ b/src/gamestate.rs @@ -351,7 +351,7 @@ pub struct PieceLoadArgs<'a> { pub trait PieceSpec: Debug + Sync + Send + 'static { #[throws(SpecError)] fn count(&self, _pcaliases: &PieceAliases) -> usize { 1 } - fn load(&self, pla: PieceLoadArgs<'_>) -> Result; + fn load(&self, pla: PieceLoadArgs) -> Result; /// Used when a piece wants to use another for its occulted form fn load_inert(&self, _ig: &Instance, _:SpecDepth) -> Result { -- 2.30.2