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:
Dahuage
2024-12-04 10:44:16 +08:00
committed by GitHub
parent 5860a322b9
commit d10bac898c

View File

@@ -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