fasterthanlime / feedback

An issue tracker for articles/series/videos at https://fasterthanli.me/
13 stars 0 forks source link

Understanding Rust futures by going way too deep #289

Closed kbridge closed 9 months ago

kbridge commented 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.

fasterthanlime commented 9 months ago

Fixed, thanks!