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-object/src/mutable/commit.rs (1 of 275 files). Show all
Unified · Split
| @@ -1,10 +1,12 @@ | |||
| 1 | use std::io; | ||
| 2 | |||
| 3 | use bstr::{BStr, BString, ByteSlice}; | ||
| 4 | use smallvec::SmallVec; | ||
| 5 | |||
| 1 | use crate::{ | 6 | use crate::{ |
| 2 | commit, | 7 | commit, |
| 3 | mutable::{encode, NL}, | 8 | mutable::{encode, NL}, |
| 4 | }; | 9 | }; |
| 5 | use bstr::{BStr, BString, ByteSlice}; | ||
| 6 | use smallvec::SmallVec; | ||
| 7 | use 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)] |