From 2db3f77e5d02e04765b581d5da7ec46a8c6015ea Mon Sep 17 00:00:00 2001 From: mw Date: Tue, 30 May 2017 16:31:56 -0400 Subject: [PATCH] The variable is not actually used. --- second-edition/src/ch20-01-single-threaded.md | 2 -- 1 file changed, 2 deletions(-) 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();