From a331dbfb65467dc7f1f529ade4860efa6d96b65b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Schl=C3=BCter?= Date: Tue, 27 Jun 2023 03:35:29 +0900 Subject: [PATCH] Fix type in assert message. (#3508) Reviewed all strings in the file and found no other typos. --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 6eb06192..387d6467 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3300,7 +3300,7 @@ FMT_CONSTEXPR20 auto format_float(Float value, int precision, float_specs specs, significand <<= 1; } else { // Normalize subnormal inputs. - FMT_ASSERT(significand != 0, "zeros should not appear hear"); + FMT_ASSERT(significand != 0, "zeros should not appear here"); int shift = countl_zero(significand); FMT_ASSERT(shift >= num_bits() - num_significand_bits(), "");