aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-12-13 13:42:27 -0600
committerMatt Strapp <matt@mattstrapp.net>2024-12-13 13:42:27 -0600
commit6fac4d57691d3ea67233ce0f9a4850caa26065d9 (patch)
treedc5a0d64ecc636f1ae8eeb6ab2e7c82d2ecb9844
parentcleanup and minor spelling mistake (diff)
downloadwwb-6fac4d57691d3ea67233ce0f9a4850caa26065d9.tar
wwb-6fac4d57691d3ea67233ce0f9a4850caa26065d9.tar.gz
wwb-6fac4d57691d3ea67233ce0f9a4850caa26065d9.tar.bz2
wwb-6fac4d57691d3ea67233ce0f9a4850caa26065d9.tar.lz
wwb-6fac4d57691d3ea67233ce0f9a4850caa26065d9.tar.xz
wwb-6fac4d57691d3ea67233ce0f9a4850caa26065d9.tar.zst
wwb-6fac4d57691d3ea67233ce0f9a4850caa26065d9.zip
clippy
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
-rw-r--r--wwb/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wwb/src/main.rs b/wwb/src/main.rs
index 1e69d03..63a35de 100644
--- a/wwb/src/main.rs
+++ b/wwb/src/main.rs
@@ -141,7 +141,7 @@ fn game_loop(game: &Arc<Mutex<Game>>, path: &str) {
.join(",")
);
game.players[current_player_number].high_score = current_space;
- save_game(&game, &path);
+ save_game(&game, path);
}
let mut collision: bool = false;