mirror of https://github.com/rwf2/Rocket.git
02011a1307
This commit is a codebase-wide cleanup driven by clippy warnings. In addition to fixing every reasonable warning, the following new functionality was introduced: * `Accept::new()` now takes any `T: Into<QMediaType>` iterator. * `TempFile::is_empty()` was added. * `HeaderMap` now implements `IntoIterator`. This commit makes the following breaking changes: * The `IntoCollection` trait is gone. Generics previously bound by the trait are now bound by `IntoIterator`. This affects: - `Accept::new()` - `ContentType::with_params()` - `Permission::{allow, allowed}()` * `MediaType`, `QMediaType`, and `Allow` implement `IntoIterator`, enabling most existing code to continue working without change. * The inherent `HeaderMap::into_iter()` method was removed. * The `Ok` variant in ErrorKind::Liftoff` is now `Box<Rocket<Orbit>>`. |
||
---|---|---|
.. | ||
ui-fail | ||
ui-fail-nightly | ||
ui-fail-stable | ||
async-entry.rs | ||
async-routes.rs | ||
catcher.rs | ||
expansion.rs | ||
from_form.rs | ||
from_form_field.rs | ||
responder.rs | ||
route-data.rs | ||
route-format.rs | ||
route-ranking.rs | ||
route-raw.rs | ||
route.rs | ||
segment-ignore.rs | ||
typed-uris.rs | ||
ui-fail.rs | ||
uri_display.rs |