aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat-cli/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-02-10 19:49:14 -0800
committerBryan Newbold <bnewbold@archive.org>2021-02-10 19:50:05 -0800
commitf474f7af21c5c48892c917e4105cbe2089cb3821 (patch)
treee5ee14e480c985e3d5259e97f6cabea71a5e42ae /fatcat-cli/src
parent41a22ba97e9a06d2d72a53490991acb8d32c20f8 (diff)
downloadfatcat-cli-f474f7af21c5c48892c917e4105cbe2089cb3821.tar.gz
fatcat-cli-f474f7af21c5c48892c917e4105cbe2089cb3821.zip
gitignore: pdfs
Diffstat (limited to 'fatcat-cli/src')
-rw-r--r--fatcat-cli/src/download.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat-cli/src/download.rs b/fatcat-cli/src/download.rs
index ada9834..d0f6c2e 100644
--- a/fatcat-cli/src/download.rs
+++ b/fatcat-cli/src/download.rs
@@ -329,7 +329,7 @@ fn loop_download_tasks(task_receiver: channel::Receiver<DownloadTask>, output_se
}
pub fn download_batch(input_path: Option<PathBuf>, output_dir: Option<PathBuf>, limit: Option<u64>, jobs: u64) -> Result<u64> {
- let count = 0;
+ let mut count = 0;
assert!(jobs > 0 && jobs <= 12);