Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ifropc committed Oct 4, 2024
1 parent ecd29d7 commit 74b7788
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion cmd/soroban-cli/src/commands/contract/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use std::{
str,
};

use crate::utils::http;
use clap::Parser;
use rust_embed::RustEmbed;

Expand Down
3 changes: 1 addition & 2 deletions cmd/soroban-cli/src/commands/network/container/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ fn try_docker_desktop_socket(
&default_docker_desktop_host,
DEFAULT_TIMEOUT,
API_DEFAULT_VERSION,
).map_err(|e| {
).inspect_err(|_| {
print.errorln(format!(
"Failed to connect to the Docker daemon at {host:?}. Is the docker daemon running?"
));
Expand All @@ -167,7 +167,6 @@ fn try_docker_desktop_socket(
print.infoln(
"Please note that if you are using Docker Desktop, you may need to utilize the `--docker-host` flag to pass in the location of the docker socket on your machine."
);
e
})
}

Expand Down

0 comments on commit 74b7788

Please sign in to comment.