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