mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-26 19:20:25 +00:00
Fix some typos. (#3843)
This commit is contained in:
parent
0879504796
commit
3a6fb2fcaf
@ -2041,7 +2041,7 @@
|
||||
returned by `fmt::system_category()`
|
||||
(https://github.com/fmtlib/fmt/issues/2274,
|
||||
https://github.com/fmtlib/fmt/pull/2275). The latter is
|
||||
similar to `std::sytem_category` but correctly handles UTF-8.
|
||||
similar to `std::system_category` but correctly handles UTF-8.
|
||||
Thanks @phprus.
|
||||
|
||||
- Replaced `fmt::error_code` with `std::error_code` and made it
|
||||
|
@ -2940,7 +2940,7 @@ FMT_INLINE auto format_to_n(OutputIt out, size_t n, format_string<T...> fmt,
|
||||
|
||||
template <typename OutputIt, typename Sentinel = OutputIt>
|
||||
struct format_to_result {
|
||||
/** Iterator pointing to just after the last succesful write in the range. */
|
||||
/** Iterator pointing to just after the last successful write in the range. */
|
||||
OutputIt out;
|
||||
/** Sentinel indicating the end of the output range. */
|
||||
Sentinel out_last;
|
||||
|
@ -517,7 +517,7 @@ TEST(locale_test, format) {
|
||||
fmt::format(small_grouping_loc, "{:L}", max_value<uint32_t>()));
|
||||
}
|
||||
|
||||
TEST(locale_test, format_detault_align) {
|
||||
TEST(locale_test, format_default_align) {
|
||||
auto loc = std::locale({}, new special_grouping<char>());
|
||||
EXPECT_EQ(" 12,345", fmt::format(loc, "{:8L}", 12345));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user