Skip to content

Commit 305116a

Browse files
committed
remove unused variable
1 parent 1c04794 commit 305116a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/all.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ impl<'a> CrateBuilder<'a> {
398398
update(&krate).set(&krate).execute(connection)?;
399399
}
400400

401-
if let Some(recent_downloads) = self.recent_downloads {
401+
if self.recent_downloads.is_some() {
402402
let crate_download = CrateDownload {
403403
crate_id: krate.id,
404404
downloads: self.recent_downloads.unwrap(),

0 commit comments

Comments
 (0)