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:
committed by
Alexandra Iordache
parent
d2caafab0e
commit
43d5a1d4b0
14
CHANGELOG.md
14
CHANGELOG.md
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user