Apparently, it will include the required \n itself, so no need to do it here. This fixes a warning about the content-size being incorrect.
@@ -5,7 +5,7 @@ use hyper::uri::RequestUri;
use hyper::header::ContentType;
use hyper::header;
-const HELLO_WORLD: &'static [u8; 14] = b"Hello, World!\n";
+const HELLO_WORLD: &'static [u8; 13] = b"Hello, World!";
fn main() {
Server::http("0.0.0.0:8080").unwrap().handle(handler).unwrap();