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/tests (2 of 275 files). Show all
Unified · Split
| @@ -1,6 +1,7 @@ | ||
| 1 | −use crate::{check_common, inspect_refs, make_readonly_repo}; | |
| 2 | 1 | use git_commitgraph::Graph; |
| 3 | 2 | |
| 3 | +use crate::{check_common, inspect_refs, make_readonly_repo}; | |
| 4 | + | |
| 4 | 5 | #[test] |
| 5 | 6 | fn single_parent() -> crate::Result { |
| 6 | 7 | let repo_dir = make_readonly_repo("single_parent.sh"); |
| @@ -1,4 +1,3 @@ | ||
| 1 | −use git_commitgraph::{graph::Position as GraphPosition, Graph}; | |
| 2 | 1 | use std::{ |
| 3 | 2 | collections::{HashMap, HashSet}, |
| 4 | 3 | convert::{TryFrom, TryInto}, |
| @@ -8,6 +7,8 @@ use std::{ · 3 unmodified lines | ||
| 8 | 7 | process::Command, |
| 9 | 8 | }; |
| 10 | 9 | |
| 10 | +use git_commitgraph::{graph::Position as GraphPosition, Graph}; | |
| 11 | + | |
| 11 | 12 | type Result = std::result::Result<(), Box<dyn std::error::Error>>; |
| 12 | 13 | |
| 13 | 14 | mod access; |