From dac372c343cc18e2b4c06dcada895efa8a9016f5 Mon Sep 17 00:00:00 2001 From: Hopium <135053852+Hopium21@users.noreply.github.com> Date: Mon, 23 Dec 2024 01:38:23 +0100 Subject: [PATCH 1/2] Update main.rs --- crates/bin/cairo-execute/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bin/cairo-execute/src/main.rs b/crates/bin/cairo-execute/src/main.rs index c065d57a1df..c3e6b34cef0 100644 --- a/crates/bin/cairo-execute/src/main.rs +++ b/crates/bin/cairo-execute/src/main.rs @@ -25,7 +25,7 @@ struct Args { /// The Cairo project path to compile and run. path: PathBuf, - /// Whether to only build and into the given path. + /// Whether to only build and save into the given path. #[clap(long)] build_only: Option, From d61731937f9271c19e5fcc5e34fe4df91ca52094 Mon Sep 17 00:00:00 2001 From: Hopium <135053852+Hopium21@users.noreply.github.com> Date: Mon, 23 Dec 2024 01:45:05 +0100 Subject: [PATCH 2/2] Update main.rs --- crates/bin/cairo-run/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bin/cairo-run/src/main.rs b/crates/bin/cairo-run/src/main.rs index 7f58efe855b..62b42fb30fb 100644 --- a/crates/bin/cairo-run/src/main.rs +++ b/crates/bin/cairo-run/src/main.rs @@ -123,8 +123,8 @@ fn main() -> anyhow::Result<()> { while let Some(item) = format_next_item(&mut felts) { if !first { print!(", "); - first = false; - } + } + first = false; print!("{}", item.quote_if_string()); } println!("].")