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

Commit f161750

Browse files
author
Tobin C. Harding
committed
Use .display() on path object directly
1 parent c92be2f commit f161750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cnd/src/seed.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ impl Seed {
8282
let contents = fs::read_to_string(file)?;
8383
let pem = pem::parse(contents)?;
8484

85-
log::info!("Read in seed from file: {}", &file.to_path_buf().display());
85+
log::info!("Read in seed from file: {}", file.display());
8686

8787
Seed::from_pem(pem)
8888
}

0 commit comments

Comments
 (0)