From 9bb05ff43770ff42c6d6fff99efdddf4e7f99169 Mon Sep 17 00:00:00 2001 From: arty Date: Fri, 5 Jul 2024 13:08:26 -0700 Subject: [PATCH] fmt + clippy --- src/classic/clvm_tools/comp_input.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/classic/clvm_tools/comp_input.rs b/src/classic/clvm_tools/comp_input.rs index 448a1b52..3216b253 100644 --- a/src/classic/clvm_tools/comp_input.rs +++ b/src/classic/clvm_tools/comp_input.rs @@ -67,12 +67,12 @@ pub fn parse_tool_input_sexp( return Err("missing argument {argument}".to_string()); }; - let use_sexp_text = - if sexp_text.is_empty() { - default_hex.unwrap_or_default() - } else { - &sexp_text - }.to_string(); + let use_sexp_text = if sexp_text.is_empty() { + default_hex.unwrap_or_default() + } else { + &sexp_text + } + .to_string(); let sexp_serialized = Bytes::new_validated(Some(UnvalidatedBytesFromType::Hex(use_sexp_text.clone())))