Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 2d6565f

Browse files
committed
cargo fmt
1 parent 6779d26 commit 2d6565f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

token/cli/src/config.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -561,12 +561,13 @@ impl<'a> Config<'a> {
561561
}
562562
}
563563

564-
// In clap v2, `value_of` returns `None` if the argument id is not previously specified in
565-
// `Arg`. In contrast, in clap v3, `value_of` panics in this case. Therefore, compared
566-
// to the same function in solana-clap-utils, `signer_from_path` in solana-clap-v3-utils errors
567-
// early when `path` is a valid pubkey, but `SIGNER_ARG.name` is not specified in the args.
568-
// This function behaves exactly as `signer_from_path` from solana-clap-utils by catching
569-
// this special case.
564+
// In clap v2, `value_of` returns `None` if the argument id is not previously
565+
// specified in `Arg`. In contrast, in clap v3, `value_of` panics in this case.
566+
// Therefore, compared to the same function in solana-clap-utils,
567+
// `signer_from_path` in solana-clap-v3-utils errors early when `path` is a
568+
// valid pubkey, but `SIGNER_ARG.name` is not specified in the args.
569+
// This function behaves exactly as `signer_from_path` from solana-clap-utils by
570+
// catching this special case.
570571
fn signer_from_path(
571572
matches: &ArgMatches,
572573
path: &str,

0 commit comments

Comments
 (0)