Skip to content

Commit 06c0f60

Browse files
committed
fix: clippy x2
1 parent a188e27 commit 06c0f60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src-tauri/games/src/downloads/download_agent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ impl GameDownloadAgent {
299299
info!("started with {} existing chunks", completed_chunks.len());
300300
let chunk_len = manifests_chunks.iter().map(|v| v.1.len()).sum::<usize>();
301301
let mut max_download_threads = borrow_db_checked().settings.max_download_threads;
302-
if max_download_threads <= 0 {
302+
if max_download_threads == 0 {
303303
max_download_threads = 1;
304304
}
305305

0 commit comments

Comments
 (0)