Change comment from lowercase int to uppercase Int

This commit is contained in:
matrackif 2021-12-06 17:58:44 +01:00 committed by GitHub
parent a0abbed518
commit 38fb7a6691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1318,7 +1318,7 @@ inline bool isfinite(T) {
return true;
}
// Converts 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, typename Int, FMT_ENABLE_IF(std::is_integral<T>::value)>
inline Int to_nonnegative_int(T value, Int upper) {
FMT_ASSERT(value >= 0 && to_unsigned(value) <= to_unsigned(upper),