From b605271d7f3fa3fd3ac4dd0e1520b80b5fb13b40 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 23 Mar 2020 15:20:49 +0100 Subject: Fix formatting --- xtask/src/dist.rs | 2 +- xtask/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs index 78dea08e7..3255eefb9 100644 --- a/xtask/src/dist.rs +++ b/xtask/src/dist.rs @@ -17,7 +17,7 @@ pub fn run_dist(client_opts: Option) -> Result<()> { rm_rf(&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_server()?; diff --git a/xtask/src/main.rs b/xtask/src/main.rs index b1a56b67f..a9adcfba4 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -13,7 +13,7 @@ use std::env; use pico_args::Arguments; use xtask::{ codegen::{self, Mode}, - dist::{ClientOpts, run_dist}, + dist::{run_dist, ClientOpts}, install::{ClientOpt, InstallCmd, ServerOpt}, not_bash::pushd, pre_commit, project_root, run_clippy, run_fuzzer, run_pre_cache, run_release, run_rustfmt, -- cgit v1.2.3