From bba761ac547b59c885aceea5b9e52bf52e8747b5 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Tue, 21 Feb 2017 15:46:36 +0900 Subject: [PATCH] feat(headers): impl Eq for ContentType --- src/header/common/content_type.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/header/common/content_type.rs b/src/header/common/content_type.rs index 71596066f4..0386a7d66f 100644 --- a/src/header/common/content_type.rs +++ b/src/header/common/content_type.rs @@ -98,4 +98,6 @@ impl ContentType { } } +impl Eq for ContentType {} + bench_header!(bench, ContentType, { vec![b"application/json; charset=utf-8".to_vec()] });