fix(day3): lena better char function
parent
d26830ee53
commit
8198f6eaa3
|
@ -25,7 +25,7 @@ trait SymbolCheckable {
|
|||
|
||||
impl SymbolCheckable for char {
|
||||
fn is_symbol(&self) -> bool {
|
||||
!self.is_alphanumeric() && *self != '.'
|
||||
!self.is_ascii_punctuation() && *self != '.'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue