Fix typos.

This commit is contained in:
Bruce Mitchener 2019-03-10 08:06:30 +07:00 committed by Victor Zverovich
parent 8407f4cb24
commit 4523053e6f
4 changed files with 6 additions and 6 deletions

View File

@ -1057,7 +1057,7 @@
3.0.1 - 2016-11-01
------------------
* Fixed handling of thousands seperator
* Fixed handling of thousands separator
(`#353 <https://github.com/fmtlib/fmt/issues/353>`_).
* Fixed handling of ``unsigned char`` strings

View File

@ -518,7 +518,7 @@ inline void reset_color(basic_memory_buffer<Char>& buffer) FMT_NOEXCEPT {
buffer.append(begin, end);
}
// The following specialiazation disables using std::FILE as a character type,
// The following specialization disables using std::FILE as a character type,
// which is needed because or else
// fmt::print(stderr, fmt::emphasis::bold, "");
// would take stderr (a std::FILE *) as the format string.

View File

@ -1870,7 +1870,7 @@ template <typename Char> struct arg_ref {
// Format specifiers with width and precision resolved at formatting rather
// than parsing time to allow re-using the same parsed specifiers with
// differents sets of arguments (precompilation of format strings).
// different sets of arguments (precompilation of format strings).
template <typename Char>
struct dynamic_format_specs : basic_format_specs<Char> {
arg_ref<Char> width_ref;
@ -2879,7 +2879,7 @@ void basic_writer<Range>::write_double(T value, const format_specs& spec) {
}
} write_inf_or_nan = {*this, spec, sign, handler.as_percentage};
// Format ininity and NaN ourselves because sprintf's output is not consistent
// Format infinity and NaN ourselves because sprintf's output is not consistent
// across platforms.
if (internal::fputil::isinfinity(value))
return write_inf_or_nan(handler.upper ? "INF" : "inf");

View File

@ -119,7 +119,7 @@ class arg_converter : public function<void> {
template <typename U>
typename std::enable_if<!std::is_integral<U>::value>::type operator()(U) {
// No coversion needed for non-integral types.
// No conversion needed for non-integral types.
}
};
@ -149,7 +149,7 @@ template <typename Context> class char_converter : public function<void> {
template <typename T>
typename std::enable_if<!std::is_integral<T>::value>::type operator()(T) {
// No coversion needed for non-integral types.
// No conversion needed for non-integral types.
}
};