{"push_id":1875360933,"size":1,"distinct_size":1,"ref":"refs/heads/patch-1","head":"9097260d80a8ebaae6ef46993779e84f83a3ecb8","before":"d1dd64f25c80fadb5d48707bdf55968ebb34d6c3","commits":[{"sha":"9097260d80a8ebaae6ef46993779e84f83a3ecb8","author":{"name":"adrian5","email":"b6fc51da68b06319bc6862abfff1efb6f21b79eb@users.noreply.github.com"},"message":"Minor edits\n\nI like the minimalist approach of these articles, but I think a bit too much is omitted, even if the reader may figure this out themselves through error messages.\r\n\r\nI would add that:\r\n\r\n* `HelloWorld` is to be replaced by `Echo` in the `.bind()` call in `main`.\r\n* `hyper::Body` needs to be imported\r\n* `futures::future::FutureResult` needs to be imported\r\n* Setting `Response = Response<Map<Body…` will break the `GET /` match in the intermediate stage of the code; `// only this match arm needs to change` suggests otherwise.\r\n\r\nThe bottom example doesn't compile for me, as `use futures::stream::Map` and `use futures::future::Map` clash, and disabling one or the other doesn't work either.","distinct":true,"url":"https://api.github.com/repos/adrian5/hyperium.github.io/commits/9097260d80a8ebaae6ef46993779e84f83a3ecb8"}]}
{"actor":{"display_login":"adrian5"}}