From 804d2b6603909f552eeeadf2b029ea6753ec64fc Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Tue, 26 Dec 2017 20:28:53 -0800 Subject: [PATCH] Add a note to disambiguate '{content,contrib}::Json'. --- lib/src/response/content.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/response/content.rs b/lib/src/response/content.rs index f4a7cbd8..01562476 100644 --- a/lib/src/response/content.rs +++ b/lib/src/response/content.rs @@ -81,6 +81,7 @@ macro_rules! ctrs { } ctrs! { + // FIXME: Add a note that this is _not_ the `contrib` `Json`. Json: JSON, "JSON", "application/json", Xml: XML, "XML", "text/xml", MsgPack: MsgPack, "MessagePack", "application/msgpack",