fix: syntax issues

This commit is contained in:
huzibaca
2024-12-31 04:50:12 +08:00
parent 44d1ec433d
commit 04d766884a
5 changed files with 6 additions and 7 deletions

View File

@@ -173,7 +173,7 @@ impl WebDavClient {
Ok::<Vec<ListFile>, Error>(final_files)
};
Ok(timeout(Duration::from_secs(TIMEOUT_LIST), fut).await??)
timeout(Duration::from_secs(TIMEOUT_LIST), fut).await?
}
pub async fn delete(&self, file_name: String) -> Result<(), Error> {