Skip to content

Commit c9a2b20

Browse files
committed
rustfmt
1 parent 3493311 commit c9a2b20

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/controllers/version/downloads.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ fn increment_download_counts(
6262

6363
// Wrap in a transaction so we don't poison the outer transaction if this
6464
// fails
65-
let _ = conn.transaction(|| {
66-
VersionDownload::create_or_increment(version_id, &conn)
67-
});
65+
let _ = conn.transaction(|| VersionDownload::create_or_increment(version_id, &conn));
6866
Ok(())
6967
}
7068

0 commit comments

Comments
 (0)