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
Showing the changes to git-commitgraph/src/file/commit.rs (1 of 275 files). Show all
Unified · Split
| @@ -1,16 +1,18 @@ | ||
| 1 | 1 | //! 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; | |
| 8 | 2 | use std::{ |
| 9 | 3 | convert::TryInto, |
| 10 | 4 | fmt::{Debug, Formatter}, |
| 11 | 5 | slice::Chunks, |
| 12 | 6 | }; |
| 13 | 7 | |
| 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 | + | |
| 14 | 16 | /// The error used in the [`file::commit`][self] module. |
| 15 | 17 | #[derive(thiserror::Error, Debug)] |
| 16 | 18 | #[allow(missing_docs)] |