Skip to content

Commit

Permalink
okay clippy thanks for your help
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Feb 18, 2024
1 parent e109e7b commit cb9b339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/models/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub async fn create_download(
}
};

if let Some(_) = existing {
if existing.is_some() {
return Ok(());
}

Expand Down

0 comments on commit cb9b339

Please sign in to comment.