delete comments
This commit is contained in:
@@ -10,31 +10,6 @@ use battle::{Battle};
|
||||
use combat::{pve};
|
||||
use account::{Account, create, login, from_token};
|
||||
|
||||
// struct Replier<T> where T: Fn(RpcResponse) {
|
||||
// send: T,
|
||||
// msg: RpcResponse,
|
||||
// }
|
||||
|
||||
// impl<T> Replier<T> where T: Fn(RpcResponse) {
|
||||
// fn new(send: T) -> Replier<T> {
|
||||
// Replier {
|
||||
// send,
|
||||
// msg: None,
|
||||
// }
|
||||
// }
|
||||
|
||||
// fn msg(&mut self, arg: u32) -> u32 {
|
||||
// match self.msg {
|
||||
// Some(v) => v,
|
||||
// None => {
|
||||
// let v = (self.calculation)(arg);
|
||||
// self.msg = Some(v);
|
||||
// v
|
||||
// },
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
pub struct Rpc;
|
||||
|
||||
impl Rpc {
|
||||
|
||||
Reference in New Issue
Block a user