chore: 移除错误的注释

This commit is contained in:
amtoaer
2024-03-19 00:07:23 +08:00
parent f46a837533
commit ed27467d16

View File

@@ -19,7 +19,6 @@ impl Downloader {
if let Some(parent) = path.parent() {
fs::create_dir_all(parent).await?;
}
// must be a new file
let mut file = File::create(path).await?;
let mut res = self.client.get(url).send().await?.bytes_stream();
while let Some(item) = res.next().await {