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
2626 )));
2727 }
2828 let (i, _) = context("a newline separates headers from the message", tag(NL))(i)?;
29− Ok((&[], &i.as_bstr()))
29+ Ok((&[], i.as_bstr()))
3030 }
3131
3232 pub fn commit<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(i: &'a [u8]) -> IResult<&'a [u8], Commit<'_>, E> {