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/mutable/commit.rs (1 of 275 files). Show all

Unified · Split

git-object/src/mutable/commit.rs+5−3
@@ -1,10 +1,12 @@
1+use std::io;
2+
3+use bstr::{BStr, BString, ByteSlice};
4+use smallvec::SmallVec;
5+
16 use crate::{
27 commit,
38 mutable::{encode, NL},
49 };
5−use bstr::{BStr, BString, ByteSlice};
6−use smallvec::SmallVec;
7−use std::io;
810
911 /// A mutable git commit, representing an annotated state of a working tree along with a reference to its historical commits.
1012 #[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone)]