Skip to content

Commit

Permalink
fmt + clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
prozacchiwawa committed Jul 5, 2024
1 parent 78d2653 commit 9bb05ff
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/classic/clvm_tools/comp_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())))
Expand Down

0 comments on commit 9bb05ff

Please sign in to comment.