chore: 移除错误的注释
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user