diff --git a/ChangeLog.md b/ChangeLog.md index 8f8075ac..cab21356 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -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 diff --git a/include/fmt/base.h b/include/fmt/base.h index b1311ba8..f21aeb78 100644 --- a/include/fmt/base.h +++ b/include/fmt/base.h @@ -2940,7 +2940,7 @@ FMT_INLINE auto format_to_n(OutputIt out, size_t n, format_string fmt, template 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; diff --git a/test/xchar-test.cc b/test/xchar-test.cc index 5694880c..c1683468 100644 --- a/test/xchar-test.cc +++ b/test/xchar-test.cc @@ -517,7 +517,7 @@ TEST(locale_test, format) { fmt::format(small_grouping_loc, "{:L}", max_value())); } -TEST(locale_test, format_detault_align) { +TEST(locale_test, format_default_align) { auto loc = std::locale({}, new special_grouping()); EXPECT_EQ(" 12,345", fmt::format(loc, "{:8L}", 12345)); }