Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvschoor committed Jun 3, 2022
1 parent 207fc5b commit 26ba820
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ impl Controller {
let game = self.game.take().unwrap();
match game.collect_result() {
Ok((result, players)) => {

let mut avg_hash: HashMap<String, f32> = HashMap::with_capacity(2);
let mut tags_hash: HashMap<String, Vec<String>> = HashMap::with_capacity(2);
for p in players.iter() {
Expand Down
5 changes: 1 addition & 4 deletions src/sc2process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ impl Process {
.spawn()
.expect("Could not launch SC2 process");

Self {
process,
ws_port,
}
Self { process, ws_port }
}

/// Connect the process websocket
Expand Down

0 comments on commit 26ba820

Please sign in to comment.