mirror of https://github.com/rwf2/Rocket.git
Add a note to disambiguate '{content,contrib}::Json'.
This commit is contained in:
parent
81bae5246b
commit
804d2b6603
|
@ -81,6 +81,7 @@ macro_rules! ctrs {
|
||||||
}
|
}
|
||||||
|
|
||||||
ctrs! {
|
ctrs! {
|
||||||
|
// FIXME: Add a note that this is _not_ the `contrib` `Json`.
|
||||||
Json: JSON, "JSON", "application/json",
|
Json: JSON, "JSON", "application/json",
|
||||||
Xml: XML, "XML", "text/xml",
|
Xml: XML, "XML", "text/xml",
|
||||||
MsgPack: MsgPack, "MessagePack", "application/msgpack",
|
MsgPack: MsgPack, "MessagePack", "application/msgpack",
|
||||||
|
|
Loading…
Reference in New Issue