Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ramfox committed Jun 25, 2024
1 parent 8b4c0df commit 1925d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh/examples/local_node_discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ async fn main() -> anyhow::Result<()> {
.await?;
show_download_progress(*hash, &mut stream).await?;
if let Some(path) = out {
let absolute = std::env::current_dir()?.join(&path);
let absolute = std::env::current_dir()?.join(path);
ensure!(!absolute.is_dir(), "output must not be a directory");
tracing::info!(
"exporting {hash} to {} -> {}",
Expand Down

0 comments on commit 1925d7c

Please sign in to comment.