Clear all clippy warnings

Additionally, HttpServer::new_from_fd has been marked as unsafe,
since the correctness of the unsafe call within the function
relies on the caller upholding an invariant

Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
This commit is contained in:
Patrick Roy
2022-11-15 17:15:41 +00:00
committed by Alexandra Iordache
parent d2caafab0e
commit 43d5a1d4b0
8 changed files with 47 additions and 30 deletions

View File

@@ -1,3 +1,17 @@
# Unreleased
## Added
- Implemented `Eq` for `common::headers::Encoding`, `common::headers::MediaType`,
`common::headers::Headers`, `common::HttpHeaderError`, `common::Body`, `common::Version`,
`common::RequestError`, `request::Uri`, `request::RequestLine`, `response::StatusCode`,
`response::ResponseHeaders`
## Changed
- Mark `HttpServer::new_from_fd` as `unsafe` as the correctness of the unsafe code
in this method relies on an invariant the caller has to uphold
# v0.1.0
- micro-http v0.1.0 first release.