Skip to content

Commit 667f4b4

Browse files
fix: remove unnecessary WebPkiError import and unwrap assignment
1 parent 55efa3f commit 667f4b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use {
2-
crate::utils::{dashboard, examples, nodes, ssh_deploy, svm_info, webpki_error::WebPkiError},
2+
crate::utils::{dashboard, examples, nodes, ssh_deploy, svm_info},
33
clparse::parse_command_line,
44
solana_clap_utils::{
55
input_parsers::pubkey_of, input_validators::normalize_to_url_if_moniker,
@@ -37,7 +37,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
3737
}
3838

3939
let (sub_command, sub_matches) = sub_command_opt.unwrap();
40-
let matches = sub_matches.unwrap();
40+
let matches = sub_matches;
4141

4242
#[cfg(feature = "remote-wallet")]
4343
let mut wallet_manager: Option<Arc<RemoteWalletManager>> = None;

0 commit comments

Comments
 (0)