chiark / gitweb /
errors: Abolish obsolete MgmtError::GameCorrupted
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 May 2021 23:32:38 +0000 (00:32 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 May 2021 23:32:38 +0000 (00:32 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/commands.rs

index c00f870dcd9cf8e02141a0324cd776af5ee82448..823b5e7d4c7276381d738200ee864974d60d8806 100644 (file)
@@ -222,7 +222,6 @@ pub enum MgmtError {
   #[error("game already has player with that nick")] NickCollision,
   #[error("{0}")] GameBeingDestroyed (#[from] GameBeingDestroyed),
   #[error("game not found")]                         GameNotFound,
-  #[error("xxx GameCorrupted")]                      GameCorrupted,
   #[error("{0}")] AccountNotFound     (#[from] AccountNotFound),
   #[error("{0}")] PlayerNotFound      (#[from] PlayerNotFound),
   #[error("piece not found in game")]                PieceNotFound,