feat(rustfmt): Run rustfmt fixes

Due to some git shennanigans and conflicts these changes were lost so
now they're being redone.
master
Michael Gattozzi 7 years ago
parent 9c53019fe8
commit cf8d95f421
No known key found for this signature in database
GPG Key ID: 619706FCADD8070C
  1. 2
      src/bindgen.rs
  2. 2
      src/build.rs
  3. 2
      src/command.rs
  4. 2
      src/main.rs
  5. 2
      src/manifest.rs
  6. 2
      src/npm.rs
  7. 2
      src/readme.rs

@ -1,8 +1,8 @@
use PBAR;
use console::style;
use emoji;
use failure::Error;
use std::process::Command;
use PBAR;
pub fn cargo_install_wasm_bindgen() -> Result<(), Error> {
let step = format!(

@ -1,8 +1,8 @@
use PBAR;
use console::style;
use emoji;
use failure::Error;
use std::process::Command;
use PBAR;
pub fn rustup_add_wasm_target() -> Result<(), Error> {
let step = format!(

@ -1,3 +1,4 @@
use PBAR;
use bindgen;
use build;
use console::style;
@ -12,7 +13,6 @@ use readme;
use std::fs;
use std::result;
use std::time::Instant;
use PBAR;
#[derive(Debug, StructOpt)]
pub enum Command {

@ -5,8 +5,8 @@ extern crate indicatif;
extern crate quicli;
use quicli::prelude::*;
use wasm_pack::command::run_wasm_pack;
use wasm_pack::Cli;
use wasm_pack::command::run_wasm_pack;
main!(|args: Cli, log_level: verbosity| {
run_wasm_pack(args.cmd)?;

@ -1,12 +1,12 @@
use std::fs::File;
use std::io::prelude::*;
use PBAR;
use console::style;
use emoji;
use failure::Error;
use serde_json;
use toml;
use PBAR;
#[derive(Deserialize)]
struct CargoManifest {

@ -1,6 +1,6 @@
use PBAR;
use failure::Error;
use std::process::Command;
use PBAR;
pub fn npm_pack(path: &str) -> Result<(), Error> {
let pkg_file_path = format!("{}/pkg", path);

@ -2,8 +2,8 @@ use console::style;
use failure::Error;
use std::fs;
use emoji;
use PBAR;
use emoji;
pub fn copy_from_crate(path: &str) -> Result<(), Error> {
let step = format!(

Loading…
Cancel
Save