Cypher -> Cipher.
[crypto_lab1.git] / lab1_rust / src / end_point.rs
index cb67226..9492d95 100644 (file)
@@ -83,6 +83,7 @@ impl Client {
       }})
    }
 
+   #[allow(dead_code)]
    pub fn close(&mut self) -> IoResult<()> {
       self.end_point.close()
    }
@@ -257,6 +258,7 @@ impl EndPoint {
       EndPoint { socket: socket, current_timestamp: 0 , variant: variant}
    }
 
+   #[allow(dead_code)]
    fn close(&mut self) -> IoResult<()> {
       try!(self.socket.close_read());
       try!(self.socket.close_write());