History

Apply nightly rustfmt rules.

Applied via `make rustfmt`, which enables these nightly-only rules: ``` group_imports = "StdExternalCrate" imports_granularity = "Crate" ``` Keep git-config in its original form for now

Conor Davis committed 5 years ago

Commit 5e0edba1 parent 19f21a4275 files · +1173 −723Browse files

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

Unified · Split

git-object/src/immutable/commit/iter.rs+7−5
@@ -1,7 +1,5 @@
1−use crate::{
2− bstr::ByteSlice,
3− immutable::{commit::decode, object, parse, parse::NL},
4−};
1+use std::borrow::Cow;
2+
53 use bstr::BStr;
64 use git_hash::{oid, ObjectId};
75 use nom::{
@@ -10,7 +8,11 @@ use nom::{ · 2 unmodified lines
108 combinator::{all_consuming, opt},
119 error::context,
1210 };
13−use std::borrow::Cow;
11+
12+use crate::{
13+ bstr::ByteSlice,
14+ immutable::{commit::decode, object, parse, parse::NL},
15+};
1416
1517 #[derive(Copy, Clone)]
1618 enum SignatureKind {