🎨 Run clang-format, adjust format_to_result documentation

This commit is contained in:
ThePhD 2024-01-15 22:13:21 -05:00
parent 45595fd148
commit 90b6cdfdc6
No known key found for this signature in database
GPG Key ID: 1509DB1C0F702BFA
2 changed files with 3 additions and 2 deletions

View File

@ -2876,7 +2876,7 @@ FMT_INLINE auto format_to_n(OutputIt out, size_t n, format_string<T...> fmt,
template <typename OutputIt, typename OutputSen = OutputIt>
struct format_to_result {
/** Iterator past the end of the last write. */
/** Iterator pointing to just after the last succesful write in the range. */
OutputIt out;
/** Sentinel indicating the end of the output range. */
OutputSen out_last;

View File

@ -9,6 +9,8 @@
#include "test-assert.h"
// clang-format on
#include "fmt/base.h"
#include <climits> // INT_MAX
#include <cstring> // std::strlen
#include <functional> // std::equal_to
@ -17,7 +19,6 @@
#include <string> // std::string
#include <type_traits> // std::is_same
#include "fmt/base.h"
#include "gmock/gmock.h"
using fmt::string_view;