Function aoc::year2022::day03::mask

source ยท
fn mask(s: &str) -> u128
Expand description

Build a set from a slice of ASCII characters, using the fold function to repeatedly OR bit offsets into an accumulator.