Skip to content

Commit

Permalink
Merge pull request hyperium#745 from dbrgn/json-comment
Browse files Browse the repository at this point in the history
Remove "charset" from ContentType::json() docs
  • Loading branch information
seanmonstar committed Mar 15, 2016
2 parents 19c9a92 + eedd5b7 commit 028f586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header/common/content_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 028f586

Please sign in to comment.