From 089e54a09be52874df8c7550aff3d85b66c2bbe7 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Tue, 13 May 2014 07:35:46 -0700 Subject: [PATCH] Fix docs. --- doc/index.rst | 4 ++-- format.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/index.rst b/doc/index.rst index ae77a28b..19cbb2f7 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -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 --------- diff --git a/format.h b/format.h index 6650bb11..febecdc9 100644 --- a/format.h +++ b/format.h @@ -1415,7 +1415,7 @@ template inline const Char *c_str(const BasicWriter &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());