Skip to content

Commit 028f586

Browse files
committed
Merge pull request #745 from dbrgn/json-comment
Remove "charset" from ContentType::json() docs
2 parents 19c9a92 + eedd5b7 commit 028f586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/header/common/content_type.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ header! {
5858
}
5959

6060
impl ContentType {
61-
/// A constructor to easily create a `Content-Type: application/json; charset=utf-8` header.
61+
/// A constructor to easily create a `Content-Type: application/json` header.
6262
#[inline]
6363
pub fn json() -> ContentType {
6464
ContentType(mime!(Application/Json))

0 commit comments

Comments
 (0)