diff -r a077aac9df01 -r 98ef2913ec73 rust/hedgewars-server/src/server/coretypes.rs --- a/rust/hedgewars-server/src/server/coretypes.rs Sun Dec 16 00:09:20 2018 +0100 +++ b/rust/hedgewars-server/src/server/coretypes.rs Sun Dec 16 00:12:29 2018 +0100 @@ -23,7 +23,7 @@ Scheme(String, Vec), Script(String), Theme(String), - DrawnMap(String) + DrawnMap(String), } #[derive(PartialEq, Eq, Clone, Debug)] @@ -51,7 +51,7 @@ Map(Option), Pause, NewSeed, - HedgehogsPerTeam(u8) + HedgehogsPerTeam(u8), } #[derive(Clone, Debug)] @@ -59,14 +59,16 @@ pub ttl: u32, pub voters: Vec, pub votes: Vec<(ClientId, bool)>, - pub kind: VoteType + pub kind: VoteType, } impl Voting { pub fn new(kind: VoteType, voters: Vec) -> Voting { Voting { - kind, voters, ttl: 2, - votes: Vec::new() + kind, + voters, + ttl: 2, + votes: Vec::new(), } } -} \ No newline at end of file +}