diff --git a/src/days/d11.rs b/src/days/d11.rs index 29204b7..14e1cff 100644 --- a/src/days/d11.rs +++ b/src/days/d11.rs @@ -81,7 +81,7 @@ impl Monkey { inspections: 0 }; input.split("\n").filter(|line| *line != "").for_each(|line| { - let (ident, mut val) = line.split_at(line.find(":").unwrap()); + let (ident, val) = line.split_at(line.find(":").unwrap()); match ident { " Starting items" => { // remove whitespace and beginning, split by ,