History

thanks clippy

Of Rust 1.54

Sebastian Thiel committed 5 years ago

Commit e1964e41 parent ce0b81e38 files · +60 −63Browse files

Showing the changes to git-object/src/immutable/commit (1 of 38 files). Show all

Unified · Split

git-object/src/immutable/commit/decode.rs+1−1
@@ -26,7 +26,7 @@ pub fn message<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(i: &'a [u8] · 25 unmodified lines
26 )));26 )));
27 }27 }
28 let (i, _) = context("a newline separates headers from the message", tag(NL))(i)?;28 let (i, _) = context("a newline separates headers from the message", tag(NL))(i)?;
29 Ok((&[], &i.as_bstr()))29 Ok((&[], i.as_bstr()))
30}30}
31 31
32pub fn commit<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(i: &'a [u8]) -> IResult<&'a [u8], Commit<'_>, E> {32pub fn commit<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(i: &'a [u8]) -> IResult<&'a [u8], Commit<'_>, E> {