chiark / gitweb /
tidying, warnings
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 12 Nov 2020 11:14:38 +0000 (11:14 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 12 Nov 2020 11:14:38 +0000 (11:14 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/otter.rs

index 6f19624b99c1007dd626bddd5f8316ab84154dfa..9ddb23c7f91143b91213a50d890c9510f0670de1 100644 (file)
@@ -13,7 +13,6 @@ use std::cell::Cell;
 
 type E = anyhow::Error;
 type Insn = MgmtGameInstruction; // xxx MGI
-type Resp = MgmtGameResponse; // xxx MGR
 type AS = AccountScope;
 type APE = ArgumentParseError;
 type TP = TablePermission;
@@ -303,7 +302,7 @@ impl ConnForGame {
     }
     responses
   }
-
+/*
   fn get_info(&mut self) -> Result<
       (MgmtGameResponseGameInfo, HashMap<String,PlayerId>
       ),AE>
@@ -327,7 +326,7 @@ impl ConnForGame {
     }
     Ok((info, nick2id))
   }
-
+*/
   #[throws(AE)]
   fn get_pieces(&mut self) -> Vec<MgmtGamePieceInfo> {
     let insns = vec![ MgmtGameInstruction::ListPieces ];