Fix typos.

This commit is contained in:
Bruce Mitchener authored and Victor Zverovich committed 2019-08-27 06:26:17 -07:00
1 parent 7512a55aa3
commit ad3c7855e2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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 <typename T, FMT_ENABLE_IF(std::is_integral<T>::value)>
inline int to_nonnegative_int(T value, int upper) {
FMT_ASSERT(value >= 0 && value <= upper, "invalid value");