diff --git a/second-edition/src/ch20-01-single-threaded.md b/second-edition/src/ch20-01-single-threaded.md index d2e6da458..371c8586a 100644 --- a/second-edition/src/ch20-01-single-threaded.md +++ b/second-edition/src/ch20-01-single-threaded.md @@ -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();