mirror of
https://github.com/rust-lang/book.git
synced 2026-05-16 20:51:10 -04:00
fix: fix a garden-path expression that can be confusing.
Fix a garden-path expression that can be confusing for those who are familiar with referring to packages using dots, especially when English is a second language for the reader.
This commit is contained in:
@@ -141,7 +141,7 @@ connection, we now call the new `handle_connection` function and pass the
|
||||
`stream` to it.
|
||||
|
||||
In the `handle_connection` function, we create a new `BufReader` instance that
|
||||
wraps a reference to the `stream`. `BufReader` adds buffering by managing calls
|
||||
wraps a reference to the `stream`. And `BufReader` adds buffering by managing calls
|
||||
to the `std::io::Read` trait methods for us.
|
||||
|
||||
We create a variable named `http_request` to collect the lines of the request
|
||||
|
||||
Reference in New Issue
Block a user