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:
8e9fc11
)
errors: Fix a message
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 13 Jul 2021 18:20:45 +0000
(19:20 +0100)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/src/error.rs
b/src/error.rs
index 277e5359b27d1ccf709acb07588e6ba33b33959e..695fd1eac2ac203eda2a13c489543aa155dc425e 100644
(file)
--- 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 you
r")]
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,