From f326ea59da3421537dcdf328b91bdbfb9b8043d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Sat, 2 Jul 2022 10:52:44 +0200 Subject: [PATCH] Add more explicit comment. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 2d93e5d..81d34eb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -107,7 +107,7 @@ fn main() { prisoners.push(prisoner_i); } - // print result + // if any prisoner has not found their number if prisoners.iter().any(|i| !i.found) { println!("failure");