Showing the changes to git-object/src/commit (2 of 8 files). Show all
Unified · Split
| @@ -10,10 +10,7 @@ use nom::{ · 9 unmodified lines | ||
| 10 | 10 | }; |
| 11 | 11 | use smallvec::SmallVec; |
| 12 | 12 | |
| 13 | −use crate::{ | |
| 14 | − immutable::{parse, parse::NL}, | |
| 15 | − BStr, ByteSlice, CommitRef, | |
| 16 | −}; | |
| 13 | +use crate::{parse, parse::NL, BStr, ByteSlice, CommitRef}; | |
| 17 | 14 | |
| 18 | 15 | pub fn message<'a, E: ParseError<&'a [u8]> + ContextError<&'a [u8]>>(i: &'a [u8]) -> IResult<&'a [u8], &'a BStr, E> { |
| 19 | 16 | if i.is_empty() { |
| @@ -9,12 +9,7 @@ use nom::{ · 8 unmodified lines | ||
| 9 | 9 | error::context, |
| 10 | 10 | }; |
| 11 | 11 | |
| 12 | −use crate::{ | |
| 13 | − bstr::ByteSlice, | |
| 14 | − commit::decode, | |
| 15 | − immutable::{object, parse, parse::NL}, | |
| 16 | − CommitRefIter, | |
| 17 | −}; | |
| 12 | +use crate::{bstr::ByteSlice, commit::decode, immutable::object, parse, parse::NL, CommitRefIter}; | |
| 18 | 13 | |
| 19 | 14 | #[derive(Copy, Clone)] |
| 20 | 15 | pub(crate) enum SignatureKind { |