mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix(ext/fetch): fix size_hint
on response body resource (#16254)
This commit is contained in:
parent
b7d86b4bed
commit
f38666f5a3
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ impl Resource for FetchResponseBodyResource {
|
|||
}
|
||||
|
||||
fn size_hint(&self) -> (u64, Option<u64>) {
|
||||
(0, self.size)
|
||||
(self.size.unwrap_or(0), self.size)
|
||||
}
|
||||
|
||||
fn close(self: Rc<Self>) {
|
||||
|
|
Loading…
Reference in a new issue