Skip to content

Commit

Permalink
feat(headers): impl Eq for ContentType
Browse files Browse the repository at this point in the history
Vincent Prouillet committed Feb 21, 2017

Verified

This commit was signed with the committer’s verified signature. The key has expired.
michel-slm Michel Lind
1 parent 592c1e2 commit bba761a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/header/common/content_type.rs
Original file line number Diff line number Diff line change
@@ -98,4 +98,6 @@ impl ContentType {
}
}

impl Eq for ContentType {}

bench_header!(bench, ContentType, { vec![b"application/json; charset=utf-8".to_vec()] });

0 comments on commit bba761a

Please sign in to comment.