fn skip_empty_lines<'a>(mut bytes: &'a [u8]) -> Result<&'a [u8]> {
    loop {
        match check_crlf(bytes) {
            Ok(rest) => bytes = rest,
            Err(Error::Partial) => return Err(Error::Partial),
            Err(Error::Syntax) => return Ok(bytes),
        }
    }
}
/// Consume CRLFs until the first non-CRLF character, returning a slice beginning at that
/// character.
Consume CRLFs until the first non-CRLF character, returning a slice beginning at that
character.
Consume CRLFs until the first non - CRLF character returning a slice beginning at that character .
fn skip_empty_lines<'a>(mut bytes: &'a [u8]) -> Result<&'a [u8]> {
    loop {
        match check_crlf(bytes) {
            Ok(rest) => bytes = rest,
            Err(Error::Partial) => return Err(Error::Partial),
            Err(Error::Syntax) => return Ok(bytes),
        }
    }
}
fn skip_empty_lines < ' a > ( mut bytes : & ' a [ u8 ] ) -> Result < & ' a [ u8 ] > { loop { match check_crlf ( bytes ) { Ok ( rest ) => bytes = rest , Err ( Error :: Partial ) => return Err ( Error :: Partial ) , Err ( Error :: Syntax ) => return Ok ( bytes ) , } } }
Consume CRLFs until the first non-CRLF character, returning a slice beginning at that
character.
Consume CRLFs until the first non - CRLF character returning a slice beginning at that character .
bytes
&'a [u8]
bytes
&'a [u8]