From a81b2057269a5c030eef17f11ced4065ada595a7 Mon Sep 17 00:00:00 2001 From: Dr Maxim Orlovsky Date: Mon, 23 Dec 2024 21:16:27 +0100 Subject: [PATCH] chore: fix clippy lints --- cli/src/cmd.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cli/src/cmd.rs b/cli/src/cmd.rs index 62d572e..7e934f4 100644 --- a/cli/src/cmd.rs +++ b/cli/src/cmd.rs @@ -270,8 +270,8 @@ pub enum Cmd { impl Args { pub fn mound(&self) -> DirMound { if self.init { - let _ = fs::create_dir_all(&self.data_dir.join(SealType::BitcoinOpret.to_string())); - let _ = fs::create_dir_all(&self.data_dir.join(SealType::BitcoinTapret.to_string())); + let _ = fs::create_dir_all(self.data_dir.join(SealType::BitcoinOpret.to_string())); + let _ = fs::create_dir_all(self.data_dir.join(SealType::BitcoinTapret.to_string())); } DirMound::load(&self.data_dir) } @@ -432,8 +432,8 @@ impl Args { println!("global: # no known global state is defined by the contract"); } else { println!( - "global: {:<16}\t{:<32}\t{:<32}\t{}", - "state name", "verified state", "unverified state", "address" + "global: {:<16}\t{:<32}\t{:<32}\taddress", + "state name", "verified state", "unverified state" ); } for (name, map) in &state.immutable { @@ -457,8 +457,8 @@ impl Args { ); } else { print!( - "comp: {:<16}\t{:<32}\t{:<32}\t{}", - "state name", "verified state", "unverified state", "address" + "comp: {:<16}\t{:<32}\t{:<32}\taddress", + "state name", "verified state", "unverified state" ); } for (name, val) in &state.computed { @@ -470,8 +470,8 @@ impl Args { println!("owned: # no known owned state is defined by the contract"); } else { println!( - "owned: {:<16}\t{:<32}\t{:<46}\t{}", - "state name", "value", "address", "outpoint" + "owned: {:<16}\t{:<32}\t{:<46}\toutpoint", + "state name", "value", "address" ); } for (name, map) in &state.owned {