From: Ian Jackson Date: Tue, 13 Jul 2021 18:20:45 +0000 (+0100) Subject: errors: Fix a message X-Git-Tag: otter-0.7.2~102 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=01dedae9396f9e683e38a1d426b09b9dfaa84d52;p=otter.git errors: Fix a message Signed-off-by: Ian Jackson --- diff --git a/src/error.rs b/src/error.rs index 277e5359..695fd1ea 100644 --- a/src/error.rs +++ b/src/error.rs @@ -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,