diff --git a/README.md b/README.md index df8c1956..9894fd0c 100644 --- a/README.md +++ b/README.md @@ -28,14 +28,11 @@ The documentation is located at [http://hyperium.github.io/hyper](http://hyperiu ```rust extern crate hyper; -use std::io::Write; - use hyper::Server; use hyper::server::Request; use hyper::server::Response; -use hyper::net::Fresh; -fn hello(_: Request, res: Response) { +fn hello(_: Request, res: Response) { res.send(b"Hello World!").unwrap(); }