Function advent_of_code_2022::day_3::map_char_to_priority
source · fn map_char_to_priority(c: &char) -> u32
Expand description
Map a character to a priority based on its position in the alphabet and whether it is uppercase.