From 74406429294551320c2cab9bffe2a54b44e5da03 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 22 Mar 2021 02:47:43 +0000 Subject: [PATCH] pieces: Fix a style problem Signed-off-by: Ian Jackson --- src/pieces.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)] -- 2.30.2