Day 11 - fix warning
This commit is contained in:
parent
524f02adfa
commit
39dbb4bcc7
1 changed files with 1 additions and 1 deletions
|
@ -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 ,
|
||||
|
|
Loading…
Reference in a new issue