Small adjustment in day03
This commit is contained in:
parent
7e12364a29
commit
3b4a20bce0
|
@ -32,7 +32,7 @@ impl IsTrue for Assert<true> {}
|
|||
fn parse_chars<S: AsRef<str>>(line: S) -> Bitmask {
|
||||
line.as_ref()
|
||||
.as_bytes()
|
||||
.iter()
|
||||
.into_iter()
|
||||
.map(Bitmask::from_alpha)
|
||||
.reduce(std::ops::BitOr::bitor)
|
||||
.unwrap()
|
||||
|
|
Loading…
Reference in a new issue