From cf0066abce687322804c23e3dfb82f9d757fdef6 Mon Sep 17 00:00:00 2001 From: Celeste Date: Thu, 2 Sep 2021 16:18:23 +0100 Subject: [PATCH] Stack Overflow, what would I ever do without you? --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index d5957c8..ebef6ab 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,7 +19,7 @@ fn get_page(request: String) -> String { fn process_request(request: Vec) -> String { let mut input = String::from_utf8_lossy(&request).to_string(); - let mut output = String::new(); + let output; if input.contains("GET") { // To-do: find a less atrocious way to do this. println!("Stream sent GET request.");