chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46f4910
)
pieces: Fix a style problem
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 22 Mar 2021 02:47:43 +0000
(
02:47
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 22 Mar 2021 02:47:43 +0000
(
02:47
+0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/pieces.rs
patch
|
blob
|
history
diff --git
a/src/pieces.rs
b/src/pieces.rs
index 72296026999e5cda255970370dac6ecce9306ba1..c647744e3c8fc345880a960f90e4d38986cefe04 100644
(file)
--- a/
src/pieces.rs
+++ b/
src/pieces.rs
@@
-129,7
+129,8
@@
impl<Desc, Outl:'static> OutlineTrait for GenericSimpleShape<Desc, Outl>
#[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)]