Merge pull request #745 from dbrgn/json-comment

Remove "charset" from ContentType::json() docs
This commit is contained in:
Sean McArthur
2016-03-15 09:04:39 -07:00

View File

@@ -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))