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