Rocket/core
Wojciech Polak 8b9d906cc4 Derive equality, ordering traits for http::Status.
`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.
2024-08-19 15:52:44 -07:00
..
codegen Fix various docstring typos. 2024-08-17 19:37:19 -07:00
http Derive equality, ordering traits for http::Status. 2024-08-19 15:52:44 -07:00
lib Fix various docstring typos. 2024-08-17 19:37:19 -07:00