fix(style): appease cargo fmt

master
Ashley Williams 6 years ago
parent 229de51270
commit a93f2713d8
  1. 4
      src/command/build.rs
  2. 2
      tests/all/utils/fixture.rs

@ -8,13 +8,13 @@ use cache;
use command::utils::{create_pkg_dir, get_crate_path}; use command::utils::{create_pkg_dir, get_crate_path};
use emoji; use emoji;
use failure::Error; use failure::Error;
use std::fmt;
use install::{self, InstallMode, Tool}; use install::{self, InstallMode, Tool};
use license; use license;
use lockfile::Lockfile; use lockfile::Lockfile;
use log::info; use log::info;
use manifest; use manifest;
use readme; use readme;
use std::fmt;
use std::path::PathBuf; use std::path::PathBuf;
use std::str::FromStr; use std::str::FromStr;
use std::time::Instant; use std::time::Instant;
@ -69,7 +69,7 @@ impl fmt::Display for Target {
Target::Web => "web", Target::Web => "web",
Target::Nodejs => "nodejs", Target::Nodejs => "nodejs",
Target::NoModules => "no-modules", Target::NoModules => "no-modules",
}; };
write!(f, "{}", s) write!(f, "{}", s)
} }
} }

@ -249,7 +249,7 @@ impl Fixture {
wasm_pack::wasm_opt::find_wasm_opt(&cache, true).unwrap(); wasm_pack::wasm_opt::find_wasm_opt(&cache, true).unwrap();
}); });
} }
/// Install a local cargo-generate for this fixture. /// Install a local cargo-generate for this fixture.
/// ///
/// Takes care not to re-install for every fixture, but only the one time /// Takes care not to re-install for every fixture, but only the one time

Loading…
Cancel
Save