mirror of
https://github.com/rust-lang/book.git
synced 2026-09-14 12:11:12 -04:00
The variable is not actually used.
This commit is contained in:
@@ -422,8 +422,6 @@ fn handle_connection(mut stream: TcpStream) {
|
||||
|
||||
let get = b"GET / HTTP/1.1\r\n";
|
||||
|
||||
let start = &buffer[..get.len()];
|
||||
|
||||
if buffer.starts_with(get) {
|
||||
let mut file = File::open("hello.html").unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user