Skip to content

Commit 60afaa7

Browse files
committed
Run 'cargo fmt'
1 parent 5bc05b4 commit 60afaa7

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/cargo/core/compiler/build_context/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::collections::HashMap;
22
use std::path::{Path, PathBuf};
3-
use std::str;
43
use std::rc::Rc;
4+
use std::str;
55

66
use log::debug;
77

src/cargo/core/compiler/compilation.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ use semver::Version;
88

99
use super::BuildContext;
1010
use crate::core::{Edition, InternedString, Package, PackageId, Target};
11-
use crate::util::{self, join_paths, process, CargoResult, CfgExpr, Config, ProcessBuilder, rustc::Rustc};
11+
use crate::util::{
12+
self, join_paths, process, rustc::Rustc, CargoResult, CfgExpr, Config, ProcessBuilder,
13+
};
1214

1315
pub struct Doctest {
1416
/// The package being doc-tested.
@@ -74,7 +76,7 @@ pub struct Compilation<'cfg> {
7476
primary_unit_rustc_process: Option<ProcessBuilder>,
7577

7678
target_runner: Option<(PathBuf, Vec<String>)>,
77-
rustc: Rc<Rustc>
79+
rustc: Rc<Rustc>,
7880
}
7981

8082
impl<'cfg> Compilation<'cfg> {
@@ -111,7 +113,7 @@ impl<'cfg> Compilation<'cfg> {
111113
host: bcx.host_triple().to_string(),
112114
target: bcx.target_triple().to_string(),
113115
target_runner: target_runner(bcx)?,
114-
rustc: bcx.rustc.clone()
116+
rustc: bcx.rustc.clone(),
115117
})
116118
}
117119

0 commit comments

Comments
 (0)