mirror of https://github.com/rust-lang/book
fix-2058 remove trailing flush
This commit is contained in:
parent
1fcda61606
commit
45797e422a
|
@ -49,5 +49,4 @@ fn handle_connection(mut stream: TcpStream) {
|
|||
);
|
||||
|
||||
stream.write_all(response.as_bytes()).unwrap();
|
||||
stream.flush().unwrap();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue