Skip to content

Commit

Permalink
Ch. 20: shorter version of corrected listing
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho authored Apr 17, 2024
1 parent 7c9680b commit d68ddcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch20-01-single-threaded.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ uses the `status_line` and `filename` variables. This makes it easier to see
the difference between the two cases, and it means we have only one place to
update the code if we want to change how the file reading and response writing
work. The behavior of the code in Listing 20-9 will be the same as that in
Listing 20-6 and 20-7.
Listing 20-7.

Awesome! We now have a simple web server in approximately 40 lines of Rust code
that responds to one request with a page of content and responds to all other
Expand Down

0 comments on commit d68ddcc

Please sign in to comment.