Skip to content

Commit

Permalink
Merge pull request #615 from havarnov/impl-hash-for-statuscode
Browse files Browse the repository at this point in the history
feat(status): implement `Hash` for `StatusCode`
  • Loading branch information
seanmonstar committed Jul 22, 2015
2 parents 7b10846 + d84f291 commit 35071fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/status.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use std::cmp::Ordering;
/// Registry](http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) which is
/// the source for this enum (with one exception, 418 I'm a teapot, which is
/// inexplicably not in the register).
#[derive(Debug)]
#[derive(Debug, Hash)]
pub enum StatusCode {
/// 100 Continue
/// [[RFC7231, Section 6.2.1](https://tools.ietf.org/html/rfc7231#section-6.2.1)]
Expand Down

0 comments on commit 35071fb

Please sign in to comment.