const fn is_valid_char(byte: u8) -> bool {
            (byte >= b'a' && byte <= b'z')
                || (byte >= b'A' && byte <= b'Z')
                || (byte >= b'0' && byte <= b'9')
                || byte == b'-'
                || byte == b'.'
        }
// This function is very ugly because of const limitations on stable
// for the refined non-const version see TryFrom<&str> below.
This function is very ugly because of const limitations on stable
for the refined non-const version see TryFrom<&str> below.
This function is very ugly because of const limitations on stable for the refined non - const version see TryFrom<&str > below .
const fn is_valid_char(byte: u8) -> bool {
            (byte >= b'a' && byte <= b'z')
                || (byte >= b'A' && byte <= b'Z')
                || (byte >= b'0' && byte <= b'9')
                || byte == b'-'
                || byte == b'.'
        }
const fn is_valid_char ( byte : u8 ) -> bool { ( byte >= b'a' && byte <= b'z' ) || ( byte >= b'A' && byte <= b'Z' ) || ( byte >= b'0' && byte <= b'9' ) || byte == b'-' || byte == b'.' }
This function is very ugly because of const limitations on stable
for the refined non-const version see TryFrom<&str> below.
This function is very ugly because of const limitations on stable for the refined non - const version see TryFrom<&str > below .
byte
u8
byte
u8