Function lexical_util::ascii::is_valid_ascii_slice
source · pub const fn is_valid_ascii_slice(slc: &[u8]) -> bool
Expand description
Determine if a slice is all valid ASCII characters for float grammar. Modified to be used in a const fn, since for loops and iter don’t work.