diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fs.rs | 2 | ||||
| -rw-r--r-- | src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -41,7 +41,7 @@ impl Drop for TmpFile { if let Err(err) = remove_file_if_exists(&self.path) { eprintln!( "Failed to remove temporary file {}: {}", - &self.path.display(), + self.path.display(), err ); } diff --git a/src/main.rs b/src/main.rs index 9c874ed..a3b9ce4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -171,7 +171,7 @@ fn run() -> Result<(), anyhow::Error> { item.map_err(|err| { anyhow::Error::new(err).context(format!( "Failed to decode record from database {}", - &db_path.display() + db_path.display() )) }) }); |