mirror of
https://github.com/fmtlib/fmt.git
synced 2026-05-05 03:54:10 +02:00
Fix docs.
This commit is contained in:
+2
-2
@@ -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
|
||||
---------
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user