From 421a74dce4c6f768bfcca94ba62b65ded1d50f7c Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Mon, 24 Apr 2023 20:13:05 +0200 Subject: Fix some spelling mistakes --- absl/strings/internal/str_format/float_conversion.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/strings/internal/str_format') diff --git a/absl/strings/internal/str_format/float_conversion.cc b/absl/strings/internal/str_format/float_conversion.cc index f1490e5a..44b11390 100644 --- a/absl/strings/internal/str_format/float_conversion.cc +++ b/absl/strings/internal/str_format/float_conversion.cc @@ -711,7 +711,7 @@ bool IncrementNibble(size_t nibble_index, Int* n) { constexpr size_t kShift = sizeof(Int) * 8 - 1; constexpr size_t kNumNibbles = sizeof(Int) * 8 / 4; Int before = *n >> kShift; - // Here we essentially want to take the number 1 and move it into the requsted + // Here we essentially want to take the number 1 and move it into the requested // nibble, then add it to *n to effectively increment the nibble. However, // ASan will complain if we try to shift the 1 beyond the limits of the Int, // i.e., if the nibble_index is out of range. So therefore we check for this -- cgit v1.2.3