fn parse_non_empty(s: &[u8]) -> Result<usize, InvalidUri> {
        if s.is_empty() {
            return Err(ErrorKind::Empty.into());
        }
        Authority::parse(s)
    }
// Parse bytes as an Authority, not allowing an empty string.
//
// This should be used by functions that allow a user to parse
// an `Authority` by itself.
Parse bytes as an Authority, not allowing an empty string.
This should be used by functions that allow a user to parse
an `Authority` by itself.
Parse bytes as an Authority not allowing an empty string . This should be used by functions that allow a user to parse an ` Authority ` by itself .
fn parse_non_empty(s: &[u8]) -> Result<usize, InvalidUri> {
        if s.is_empty() {
            return Err(ErrorKind::Empty.into());
        }
        Authority::parse(s)
    }
fn parse_non_empty ( s : & [ u8 ] ) -> Result < usize , InvalidUri > { if s . is_empty ( ) { return Err ( ErrorKind :: Empty . into ( ) ) ; } Authority :: parse ( s ) }
Parse bytes as an Authority, not allowing an empty string.
Parse bytes as an Authority not allowing an empty string .
s
&[u8]
s
&[u8]