chore: 移除错误的注释

This commit is contained in:
amtoaer
2024-03-19 00:07:23 +08:00
parent f46a837533
commit ed27467d16
-1
View File
@@ -19,7 +19,6 @@ impl Downloader {
if let Some(parent) = path.parent() { if let Some(parent) = path.parent() {
fs::create_dir_all(parent).await?; fs::create_dir_all(parent).await?;
} }
// must be a new file
let mut file = File::create(path).await?; let mut file = File::create(path).await?;
let mut res = self.client.get(url).send().await?.bytes_stream(); let mut res = self.client.get(url).send().await?.bytes_stream();
while let Some(item) = res.next().await { while let Some(item) = res.next().await {