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

Unified · Split

git-commitgraph/src/file/commit.rs+8−6
@@ -1,16 +1,18 @@
11 //! Low-level operations on individual commits.
2−use crate::{
3− file::{self, File},
4− graph,
5−};
6−use byteorder::{BigEndian, ByteOrder};
7−use git_hash::SIZE_OF_SHA1_DIGEST as SHA1_SIZE;
82 use std::{
93 convert::TryInto,
104 fmt::{Debug, Formatter},
115 slice::Chunks,
126 };
137
8+use byteorder::{BigEndian, ByteOrder};
9+use git_hash::SIZE_OF_SHA1_DIGEST as SHA1_SIZE;
10+
11+use crate::{
12+ file::{self, File},
13+ graph,
14+};
15+
1416 /// The error used in the [`file::commit`][self] module.
1517 #[derive(thiserror::Error, Debug)]
1618 #[allow(missing_docs)]