clap-utils: Reduce SignerSource's visibility

This commit is contained in:
Trent Nelson 2021-04-14 23:26:52 -06:00 committed by Trent Nelson
parent 09dcc9ea04
commit c5ab3ba6f1
1 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ impl DefaultSigner {
}
}
pub enum SignerSource {
pub(crate) enum SignerSource {
Ask,
Filepath(String),
Usb(String),
@ -141,7 +141,7 @@ pub enum SignerSource {
Pubkey(Pubkey),
}
pub fn parse_signer_source<S: AsRef<str>>(source: S) -> SignerSource {
pub(crate) fn parse_signer_source<S: AsRef<str>>(source: S) -> SignerSource {
if path == "-" {
SignerSource::Stdin
} else if path == ASK_KEYWORD {