fix(day3): lena better char function

flavien 2023-12-03 12:48:34 +01:00
parent d26830ee53
commit 8198f6eaa3
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.is_ascii_punctuation() && *self != '.'
}
}