docs(readme): remove warning from Server example

This commit is contained in:
Sean McArthur
2016-02-22 11:14:34 -08:00
parent 2b05fab85e
commit 63b2759e2f

View File

@@ -37,7 +37,8 @@ fn hello(_: Request, res: Response) {
}
fn main() {
Server::http("127.0.0.1:3000").unwrap().handle(hello);
Server::http("127.0.0.1:3000").unwrap()
.handle(hello).unwrap();
}
```