From: Ian Jackson Date: Sat, 30 Apr 2022 11:46:08 +0000 (+0100) Subject: Drop an unneeded lifetime argument X-Git-Tag: otter-1.1.0~411 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=495749ff85c0b0dc9750a7fb709ac55208f8e66a;p=otter.git 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 --- 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 {