Skip to content

Commit

Permalink
chore: fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Dec 23, 2024
1 parent a37ab77 commit a81b205
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions cli/src/cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit a81b205

Please sign in to comment.