From a93f2713d8d4be6422966a21a6b3a7fd1dc6570b Mon Sep 17 00:00:00 2001 From: Ashley Williams Date: Thu, 18 Jul 2019 21:58:15 -0500 Subject: [PATCH] fix(style): appease cargo fmt --- src/command/build.rs | 4 ++-- tests/all/utils/fixture.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/command/build.rs b/src/command/build.rs index 86b9c48..723f507 100644 --- a/src/command/build.rs +++ b/src/command/build.rs @@ -8,13 +8,13 @@ use cache; use command::utils::{create_pkg_dir, get_crate_path}; use emoji; use failure::Error; -use std::fmt; use install::{self, InstallMode, Tool}; use license; use lockfile::Lockfile; use log::info; use manifest; use readme; +use std::fmt; use std::path::PathBuf; use std::str::FromStr; use std::time::Instant; @@ -69,7 +69,7 @@ impl fmt::Display for Target { Target::Web => "web", Target::Nodejs => "nodejs", Target::NoModules => "no-modules", - }; + }; write!(f, "{}", s) } } diff --git a/tests/all/utils/fixture.rs b/tests/all/utils/fixture.rs index 1c81684..e076fc0 100644 --- a/tests/all/utils/fixture.rs +++ b/tests/all/utils/fixture.rs @@ -249,7 +249,7 @@ impl Fixture { wasm_pack::wasm_opt::find_wasm_opt(&cache, true).unwrap(); }); } - + /// Install a local cargo-generate for this fixture. /// /// Takes care not to re-install for every fixture, but only the one time