From: Ian Jackson Date: Mon, 22 Mar 2021 02:47:43 +0000 (+0000) Subject: pieces: Fix a style problem X-Git-Tag: otter-0.5.0~511 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=74406429294551320c2cab9bffe2a54b44e5da03;p=otter.git pieces: Fix a style problem Signed-off-by: Ian Jackson --- diff --git a/src/pieces.rs b/src/pieces.rs index 72296026..c647744e 100644 --- a/src/pieces.rs +++ b/src/pieces.rs @@ -129,7 +129,8 @@ impl OutlineTrait for GenericSimpleShape #[typetag::serde] impl PieceTrait for SimpleShape { #[throws(IE)] - fn svg_piece(&self, f: &mut Html, gpc: &GPiece, _gs: &GameState, _vpid: VisiblePieceId) { + fn svg_piece(&self, f: &mut Html, gpc: &GPiece, + _gs: &GameState, _vpid: VisiblePieceId) { self.svg_piece_raw(f, gpc.face, &mut |_|Ok(()))?; } #[throws(IE)]