From ad3c7855e2d3ab02ee71205a56334ea1d94f1b81 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 27 Aug 2019 14:44:55 +0700 Subject: [PATCH] Fix typos. --- ChangeLog.rst | 2 +- include/fmt/chrono.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.rst b/ChangeLog.rst index 33a4003f..19e9b552 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -298,7 +298,7 @@ `#1222 `_). Thanks `@alabuzhev (Alex Alabuzhev) `_. -* Fixed bugs discovered by fuzzing or during fuzzing integation +* Fixed bugs discovered by fuzzing or during fuzzing integration (`#1124 `_, `#1127 `_, `#1132 `_, diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 57ce9ef3..c965cf78 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -403,7 +403,7 @@ inline bool isfinite(T value) { return std::isfinite(value); } -// Convers value to int and checks that it's in the range [0, upper). +// Converts value to int and checks that it's in the range [0, upper). template ::value)> inline int to_nonnegative_int(T value, int upper) { FMT_ASSERT(value >= 0 && value <= upper, "invalid value");