We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7974c8 commit 81c03c2Copy full SHA for 81c03c2
examples/09_05_final_tcp_server/src/main.rs
@@ -106,8 +106,6 @@ mod tests {
106
};
107
108
handle_connection(&mut stream).await;
109
- let mut buf = [0u8; 1024];
110
- stream.read(&mut buf).await.unwrap();
111
112
let expected_contents = fs::read_to_string("hello.html").unwrap();
113
let expected_response = format!("HTTP/1.1 200 OK\r\n\r\n{}", expected_contents);
0 commit comments