Skip to content

Conversation

@flatcap
Copy link

@flatcap flatcap commented Dec 3, 2022

Update the two source summaries for the webserver chapter.

Ref: https://doc.rust-lang.org/stable/book/ch20-03-graceful-shutdown-and-cleanup.html

  • Listing 20-25
  • Source summary of src/main.rs
    (src/lib.rs matches the exercises)

The two summaries are out-of-date. They don't use match or BufReader.

After working through the examples to build a webserver, the final code should look like this.

Update the two source summaries for the webserver chapter.

The two summaries are out-of-date.  They don't use `match` or `BufReader`.

After working through the examples to build a webserver, the final code
should look like this.
@chriskrycho
Copy link
Contributor

Thanks for this! You were not the only one to notice it—@chris-t-jansen noticed the same and fixed it in #3857, which I happened to spot first and so landed a couple weeks ago. Going to close this accordingly, but the fix is very much appreciated nonetheless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants