From 60bd0b627ac350e64ac3a59a82dd4b40f49fe116 Mon Sep 17 00:00:00 2001 From: melkor Date: Sun, 7 Jan 2024 12:22:55 -0800 Subject: [PATCH] Clarify sample code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 52a832b..aa203be 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ fn main() { // print general info about the game println!("{:#?}", game); - // find the frames on which each player died + // example: find the frames on which each player died let mut is_dead: Vec<_> = game.frames.ports.iter().map(|_| false).collect(); for frame_idx in 0..game.frames.id.len() { for (port_idx, port_data) in game.frames.ports.iter().enumerate() {