From eedd5b73eef2f44d6cba2fc5d6ddc389c9a50b38 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Tue, 15 Mar 2016 12:33:30 +0100 Subject: [PATCH] docs(headers): Remove charset from json() docs Leftover from ec568e9a551018b3353b6754eb2fcd729c7ea3c6. --- src/header/common/content_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/header/common/content_type.rs b/src/header/common/content_type.rs index cb530f7879..73ead58305 100644 --- a/src/header/common/content_type.rs +++ b/src/header/common/content_type.rs @@ -58,7 +58,7 @@ header! { } impl ContentType { - /// A constructor to easily create a `Content-Type: application/json; charset=utf-8` header. + /// A constructor to easily create a `Content-Type: application/json` header. #[inline] pub fn json() -> ContentType { ContentType(mime!(Application/Json))