summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2026-08-07 19:56:00 +0200
committerStefan Kreutz <mail@skreutz.com>2026-08-07 19:56:00 +0200
commit62293ccb11af519d8c1786f0a46ff8f8dab86f86 (patch)
tree4edb4e4e961fa8c0b46500449b33915f4854ce56 /src
parenta2581314e2164b92247397130c2f47bf17e97d16 (diff)
downloadbrck-62293ccb11af519d8c1786f0a46ff8f8dab86f86.tar.gz
Update Nix flake inputs
Thereby fix new linter warnings.
Diffstat (limited to 'src')
-rw-r--r--src/fs.rs2
-rw-r--r--src/main.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fs.rs b/src/fs.rs
index f962e53..78150a2 100644
--- a/src/fs.rs
+++ b/src/fs.rs
@@ -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()
))
})
});
Generated by cgit. See skreutz.com for my tech blog and contact information.