fix(day3): lena better char function

main
flavien 2023-12-03 12:48:34 +01:00
parent d26830ee53
commit df05ed61e0
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ trait SymbolCheckable {
impl SymbolCheckable for char {
fn is_symbol(&self) -> bool {
!self.is_alphanumeric() && *self != '.'
*self != '.' && !self.is_ascii_punctuation()
}
}