Fix docs.

This commit is contained in:
Victor Zverovich 2014-05-13 07:35:46 -07:00
parent 660938fe4d
commit 089e54a09b
2 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,9 @@ namespace is often omitted in examples.
.. doxygenclass:: fmt::BasicStringRef
:members:
.. doxygenfunction:: fmt::str
.. doxygenfunction:: fmt::str(StringRef)
.. doxygenfunction:: fmt::c_str
.. doxygenfunction:: fmt::c_str(StringRef)
Write API
---------

View File

@ -1415,7 +1415,7 @@ template <typename Char>
inline const Char *c_str(const BasicWriter<Char> &f) { return f.c_str(); }
/**
Converts a string reference an `std::string`.
Converts a string reference to `std::string`.
*/
inline std::string str(StringRef s) {
return std::string(s.c_str(), s.size());