4 lines
116 B
Rust
4 lines
116 B
Rust
pub(crate) fn is_ascii_alphanumeric(s: &str) -> bool {
|
|
s.as_bytes().iter().all(|c| c.is_ascii_alphanumeric())
|
|
}
|