mirror of
https://github.com/YGGverse/pulsarss.git
synced 2026-03-31 09:05:29 +00:00
complete capacity argument
This commit is contained in:
parent
5f06b450a7
commit
d936ef78fa
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ fn crawl(argument: &Argument, output: &Output) -> Result<(), Box<dyn Error>> {
|
||||||
let subject = format!("{path}index.gmi");
|
let subject = format!("{path}index.gmi");
|
||||||
|
|
||||||
let mut index = File::create(&subject)?;
|
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;
|
let mut total = 0;
|
||||||
for file in read_dir(&path)? {
|
for file in read_dir(&path)? {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue