From: Ian Jackson Date: Thu, 12 Nov 2020 11:14:38 +0000 (+0000) Subject: tidying, warnings X-Git-Tag: otter-0.2.0~538 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=9b424ec8c62757ece6d52366198ec32fd96957ff;p=otter.git tidying, warnings Signed-off-by: Ian Jackson --- diff --git a/src/bin/otter.rs b/src/bin/otter.rs index 6f19624b..9ddb23c7 100644 --- a/src/bin/otter.rs +++ b/src/bin/otter.rs @@ -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 ),AE> @@ -327,7 +326,7 @@ impl ConnForGame { } Ok((info, nick2id)) } - +*/ #[throws(AE)] fn get_pieces(&mut self) -> Vec { let insns = vec![ MgmtGameInstruction::ListPieces ];