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/graph/init.rs (1 of 275 files). Show all
Unified · Split
| @@ -1,13 +1,14 @@ | |||
| 1 | use crate::{ | ||
| 2 | file::{self, File}, | ||
| 3 | Graph, MAX_COMMITS, | ||
| 4 | }; | ||
| 5 | use std::{ | 1 | use std::{ |
| 6 | convert::TryFrom, | 2 | convert::TryFrom, |
| 7 | io::{BufRead, BufReader}, | 3 | io::{BufRead, BufReader}, |
| 8 | path::{Path, PathBuf}, | 4 | path::{Path, PathBuf}, |
| 9 | }; | 5 | }; |
| 10 | 6 | ||
| 7 | use crate::{ | ||
| 8 | file::{self, File}, | ||
| 9 | Graph, MAX_COMMITS, | ||
| 10 | }; | ||
| 11 | |||
| 11 | /// The error used in the [`graph`][crate::graph] module. | 12 | /// The error used in the [`graph`][crate::graph] module. |
| 12 | #[derive(thiserror::Error, Debug)] | 13 | #[derive(thiserror::Error, Debug)] |
| 13 | #[allow(missing_docs)] | 14 | #[allow(missing_docs)] |