mirror of
https://github.com/rust-lang/book.git
synced 2026-05-18 02:09:12 -04:00
Fix typo in ch-20-01-single-threaded.md
This commit is contained in:
@@ -48,7 +48,7 @@ Using `TcpListener`, we can listen for TCP connections at the address
|
||||
`127.0.0.1:7878`. In the address, the section before the colon is an IP address
|
||||
representing your computer (this is the same on every computer and doesn’t
|
||||
represent the authors’ computer specifically), and `7878` is the port. We’ve
|
||||
chosen this port for two reasons: HTTP is normally accepted on this port, and
|
||||
chosen this port for two reasons: HTTP isn't normally accepted on this port, and
|
||||
7878 is *rust* typed on a telephone.
|
||||
|
||||
The `bind` function in this scenario works like the `new` function in that it
|
||||
|
||||
Reference in New Issue
Block a user