diff --git a/include/nlohmann/detail/output/output_adapters.hpp b/include/nlohmann/detail/output/output_adapters.hpp
index 71ca65b9..937af697 100644
--- a/include/nlohmann/detail/output/output_adapters.hpp
+++ b/include/nlohmann/detail/output/output_adapters.hpp
@@ -97,7 +97,8 @@ class output_string_adapter : public output_adapter_protocol<CharType>
   private:
     StringType& str;
 };
-
+/// dump to alternative string type, as defined in basic_json template
+/// see https://github.com/nlohmann/json/pull/1006
 template<typename CharType, typename StringType = std::basic_string<CharType>>
 class output_adapter
 {
diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp
index 7a1aacb5..553284be 100644
--- a/single_include/nlohmann/json.hpp
+++ b/single_include/nlohmann/json.hpp
@@ -12208,7 +12208,8 @@ class output_string_adapter : public output_adapter_protocol<CharType>
   private:
     StringType& str;
 };
-
+/// dump to alternative string type, as defined in basic_json template
+/// see https://github.com/nlohmann/json/pull/1006
 template<typename CharType, typename StringType = std::basic_string<CharType>>
 class output_adapter
 {