chiark / gitweb /
errors: Fix a message
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 13 Jul 2021 18:20:45 +0000 (19:20 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 13 Jul 2021 18:21:16 +0000 (19:21 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/error.rs

index 277e5359b27d1ccf709acb07588e6ba33b33959e..695fd1eac2ac203eda2a13c489543aa155dc425e 100644 (file)
@@ -168,7 +168,7 @@ pub enum Inapplicable {
   #[error("position off table")]            PosOffTable,
   #[error("piece gone")]                    PieceGone,
   #[error("piece held by another player")]  PieceHeld,
-  #[error("piece not held by your")]        PieceNotHeld,
+  #[error("piece not held by you")]         PieceNotHeld,
   #[error("prevented by occultation")]      Occultation,
   #[error("piece may not be rotated")]      PieceUnrotateable,
   #[error("piece may not be moved")]        PieceImmoveable,