complete capacity argument

This commit is contained in:
yggverse 2025-02-12 18:40:30 +02:00
parent 5f06b450a7
commit d936ef78fa

View file

@ -104,7 +104,7 @@ fn crawl(argument: &Argument, output: &Output) -> Result<(), Box<dyn Error>> {
let subject = format!("{path}index.gmi");
let mut index = File::create(&subject)?;
let mut data = Vec::with_capacity(10); // @TODO
let mut data = Vec::with_capacity(argument.limit);
let mut total = 0;
for file in read_dir(&path)? {