mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-09-05 07:28:04 +08:00
chore: 移除错误的注释
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user