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/tests (2 of 275 files). Show all

Unified · Split

2 files
  1. git-commitgraph/tests/access/mod.rs +2 −1
  2. git-commitgraph/tests/commitgraph.rs +2 −1
git-commitgraph/tests/access/mod.rs+2−1
@@ -1,6 +1,7 @@
1−use crate::{check_common, inspect_refs, make_readonly_repo};
21 use git_commitgraph::Graph;
32
3+use crate::{check_common, inspect_refs, make_readonly_repo};
4+
45 #[test]
56 fn single_parent() -> crate::Result {
67 let repo_dir = make_readonly_repo("single_parent.sh");
git-commitgraph/tests/commitgraph.rs+2−1
@@ -1,4 +1,3 @@
1−use git_commitgraph::{graph::Position as GraphPosition, Graph};
21 use std::{
32 collections::{HashMap, HashSet},
43 convert::{TryFrom, TryInto},
@@ -8,6 +7,8 @@ use std::{ · 3 unmodified lines
87 process::Command,
98 };
109
10+use git_commitgraph::{graph::Position as GraphPosition, Graph};
11+
1112 type Result = std::result::Result<(), Box<dyn std::error::Error>>;
1213
1314 mod access;