docs(headers): Remove charset from json() docs
Leftover from ec568e9a55.
This commit is contained in:
@@ -58,7 +58,7 @@ header! {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl ContentType {
|
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]
|
#[inline]
|
||||||
pub fn json() -> ContentType {
|
pub fn json() -> ContentType {
|
||||||
ContentType(mime!(Application/Json))
|
ContentType(mime!(Application/Json))
|
||||||
|
|||||||
Reference in New Issue
Block a user