Skip to content

Commit 9e47965

Browse files
committed
make clippy happy
1 parent 741d961 commit 9e47965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl Database for Connection {
5050
}
5151

5252
fn insert_file(&self, filename: &Path) -> Result<()> {
53-
let toencode = !matches!(get_vendor(&filename)?.as_str(), CURRENT_VENDOR);
53+
let toencode = !matches!(get_vendor(filename)?.as_str(), CURRENT_VENDOR);
5454

5555
let modtime = filename
5656
.metadata()?

0 commit comments

Comments
 (0)