Skip to content

Commit 6afa771

Browse files
author
Sriya Pratipati
committed
added comment
1 parent e576531 commit 6afa771

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

libc/src/__support/wchar/character_converter.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@
1919
namespace LIBC_NAMESPACE_DECL {
2020
namespace internal {
2121

22+
// This is for utf-8 bytes other than the first byte
2223
constexpr size_t ENCODED_BITS_PER_UTF8 = 6;
23-
// the number of bits per utf-8 byte that actually encode character
24-
// information not metadata (# of bits excluding the byte headers)
24+
// The number of bits per utf-8 byte that actually encode character
25+
// Information not metadata (# of bits excluding the byte headers)
2526
constexpr uint32_t MASK_ENCODED_BITS =
2627
mask_trailing_ones<uint32_t, ENCODED_BITS_PER_UTF8>();
2728

0 commit comments

Comments
 (0)