mirror of https://github.com/rwf2/Rocket.git
8b9d906cc4
`PartialEq` when not derived results in `StructuralPartialEq` not being implemented. As this was the case for `http::Status`, matching against constants like `Status::Unauthorized` was not allowed. This commit replaces the manual implementations of equality traits (`PartialEq`, `Eq`) and ordering traits (`PartialOrd`, `Ord`) for `http::Status` with `#[derive]`. Resolves #2844. |
||
---|---|---|
.. | ||
codegen | ||
http | ||
lib |