Closed kbridge closed 9 months ago
I found something wrong on this page:
https://fasterthanli.me/articles/understanding-rust-futures-by-going-way-too-deep#position=55.0
Here's what it is:
in the section Let's get rid of DNS altogether
you need to change
let mut group = vec![ fetch_thing(URL_1), fetch_thing(URL_2), ]
to
let mut group = vec![ fetch_thing("first"), fetch_thing("second"), ]
to get the expected output.
Fixed, thanks!
I found something wrong on this page:
https://fasterthanli.me/articles/understanding-rust-futures-by-going-way-too-deep#position=55.0
Here's what it is:
in the section Let's get rid of DNS altogether
you need to change
to
to get the expected output.