Skip to content

Commit

Permalink
token cli: fix some clippy string errors
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalojoec committed Oct 18, 2023
1 parent 4e99e73 commit b689db8
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions token/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2844,13 +2844,10 @@ async fn command_update_confidential_transfer_settings(
if let Some(new_auditor_pubkey) = new_auditor_pubkey {
println_display(
config,
format!(
" auditor encryption pubkey set to {}",
new_auditor_pubkey.to_string(),
),
format!(" auditor encryption pubkey set to {}", new_auditor_pubkey),
);
} else {
println_display(config, format!(" auditability disabled",))
println_display(config, " auditability disabled".to_string())
}
}

Expand Down Expand Up @@ -4762,7 +4759,7 @@ async fn process_command<'a>(
let no_recipient_is_ata_owner =
arg_matches.is_present("no_recipient_is_ata_owner") || !recipient_is_ata_owner;
if recipient_is_ata_owner {
println_display(config, format!("recipient-is-ata-owner is now the default behavior. The option has been deprecated and will be removed in a future release."));
println_display(config, "recipient-is-ata-owner is now the default behavior. The option has been deprecated and will be removed in a future release.".to_string());
}
let use_unchecked_instruction = arg_matches.is_present("use_unchecked_instruction");
let expected_fee = value_of::<f64>(arg_matches, "expected_fee");
Expand Down

0 comments on commit b689db8

Please sign in to comment.