chiark / gitweb /
Gamestate: Fix a more style nit
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 15 Apr 2022 09:58:24 +0000 (10:58 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 15 Apr 2022 18:02:51 +0000 (19:02 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/gamestate.rs

index 6887274b4f1cbef85ffe53918f4f56a89fe43c57..db92d2b7cdbdde088228772dd7b47e715c0ae5cc 100644 (file)
@@ -200,9 +200,9 @@ pub trait PieceTrait: PieceBaseTrait + Send + Debug + 'static {
   fn describe_html(&self, gpc: &GPiece, _goccults: &GameOccults)
                    -> Result<Html,IE>;
 
-  #[throws(IE)]
   /// Piece is responsible for dealing with the possibility that they
   /// may be occulted!
+  #[throws(IE)]
   fn held_change_hook(&self,
                       _ig: &InstanceRef,
                       _gpieces: &mut GPieces,