Fix formatting

This commit is contained in:
Aleksey Kladov 2020-03-23 15:20:49 +01:00
parent aaa6961aa6
commit b605271d7f
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ pub fn run_dist(client_opts: Option<ClientOpts>) -> Result<()> {
rm_rf(&dist)?; rm_rf(&dist)?;
fs2::create_dir_all(&dist)?; fs2::create_dir_all(&dist)?;
if let Some(ClientOpts { version, release_tag}) = client_opts { if let Some(ClientOpts { version, release_tag }) = client_opts {
dist_client(&version, &release_tag)?; dist_client(&version, &release_tag)?;
} }
dist_server()?; dist_server()?;

View file

@ -13,7 +13,7 @@ use std::env;
use pico_args::Arguments; use pico_args::Arguments;
use xtask::{ use xtask::{
codegen::{self, Mode}, codegen::{self, Mode},
dist::{ClientOpts, run_dist}, dist::{run_dist, ClientOpts},
install::{ClientOpt, InstallCmd, ServerOpt}, install::{ClientOpt, InstallCmd, ServerOpt},
not_bash::pushd, not_bash::pushd,
pre_commit, project_root, run_clippy, run_fuzzer, run_pre_cache, run_release, run_rustfmt, pre_commit, project_root, run_clippy, run_fuzzer, run_pre_cache, run_release, run_rustfmt,