From dbbcb4791821156469838bc08721b317ba77cd4e Mon Sep 17 00:00:00 2001 From: Jan Baudisch Date: Fri, 11 Dec 2020 20:13:15 +0100 Subject: [PATCH] day 5: fix output --- day_05/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day_05/src/main.rs b/day_05/src/main.rs index 3f3d683..d71f884 100644 --- a/day_05/src/main.rs +++ b/day_05/src/main.rs @@ -30,7 +30,7 @@ fn main() { possible_ids.retain(|x| (ids.contains(&(x + 1)) && ids.contains(&(x - 1)))); - println!("[PART ONE] seat ID: {}", possible_ids.pop().unwrap()); + println!("[PART TWO] seat ID: {}", possible_ids.pop().unwrap()); } #[cfg(test)] -- 2.45.2