mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-16 17:00:02 +00:00
Rename AsyncExtracter::write
to feed
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
432376224f
commit
8a812c8d22
2 changed files with 6 additions and 6 deletions
src
|
@ -74,7 +74,7 @@ pub async fn download_and_extract<P: AsRef<Path>, const N: usize>(
|
|||
let mut extracter = AsyncExtracter::new(path, fmt, desired_outputs);
|
||||
|
||||
while let Some(res) = bytes_stream.next().await {
|
||||
extracter.write(res?).await?;
|
||||
extracter.feed(res?).await?;
|
||||
}
|
||||
|
||||
extracter.done().await?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue