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 @@
1use std::io;
2
3use bstr::{BStr, BString, ByteSlice};
4use smallvec::SmallVec;
5
1use crate::{6use crate::{
2 commit,7 commit,
3 mutable::{encode, NL},8 mutable::{encode, NL},
4};9};
5use bstr::{BStr, BString, ByteSlice};
6use smallvec::SmallVec;
7use std::io;
8 10
9/// A mutable git commit, representing an annotated state of a working tree along with a reference to its historical commits.11/// A mutable git commit, representing an annotated state of a working tree along with a reference to its historical commits.
10#[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone)]12#[derive(PartialEq, Eq, Debug, Hash, Ord, PartialOrd, Clone)]