From f5dc3ac3aa78433a29bc30b81ab25340e97f9b51 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Wed, 10 Nov 2021 10:07:13 +0100 Subject: [PATCH] fmt --- cli/src/lib.rs | 16 +++++++++------- cli/src/main.rs | 5 ++++- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/cli/src/lib.rs b/cli/src/lib.rs index d942dae20e..543f24981a 100644 --- a/cli/src/lib.rs +++ b/cli/src/lib.rs @@ -194,13 +194,15 @@ pub fn build_app<'a>() -> App<'a> { if cfg!(feature = "editor") { app.subcommand( - App::new(CMD_EDIT).about("Launch the Roc editor (Work In Progress)").arg( - Arg::new(DIRECTORY_OR_FILES) - .index(1) - .multiple_values(true) - .required(false) - .about("(optional) The directory or files to open on launch."), - ), + App::new(CMD_EDIT) + .about("Launch the Roc editor (Work In Progress)") + .arg( + Arg::new(DIRECTORY_OR_FILES) + .index(1) + .multiple_values(true) + .required(false) + .about("(optional) The directory or files to open on launch."), + ), ) } else { app diff --git a/cli/src/main.rs b/cli/src/main.rs index acd974029a..ef946b8470 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -1,5 +1,8 @@ use roc_cli::build::check_file; -use roc_cli::{BuildConfig, CMD_BUILD, CMD_CHECK, CMD_DOCS, CMD_EDIT, CMD_REPL, CMD_VERSION, DIRECTORY_OR_FILES, FLAG_TIME, ROC_FILE, build_app, docs, repl}; +use roc_cli::{ + build_app, docs, repl, BuildConfig, CMD_BUILD, CMD_CHECK, CMD_DOCS, CMD_EDIT, CMD_REPL, + CMD_VERSION, DIRECTORY_OR_FILES, FLAG_TIME, ROC_FILE, +}; use roc_load::file::LoadingProblem; use std::fs::{self, FileType}; use std::io;