Add more explicit comment.

This commit is contained in:
Nicolás A. Ortega Froysa 2022-07-02 10:52:44 +02:00
parent 1c70d82a1e
commit f326ea59da

View File

@ -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");