Skip to content

Commit 4f59bc7

Browse files
author
Sriya Pratipati
committed
fixed formatting
1 parent 80d3a83 commit 4f59bc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libc/src/__support/wchar/character_converter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ int CharacterConverter::push(char8_t utf8_byte) {
5555
// Adding 6 more bits so need to left shift
5656
constexpr size_t ENCODED_BITS_PER_UTF8 = 6;
5757
if (cpp::countl_one(utf8_byte) == 1 && !isComplete()) {
58-
char32_t byte = utf8_byte & mask_trailing_ones<uint32_t, ENCODED_BITS_PER_UTF8>();
58+
char32_t byte =
59+
utf8_byte & mask_trailing_ones<uint32_t, ENCODED_BITS_PER_UTF8>();
5960
state->partial = state->partial << ENCODED_BITS_PER_UTF8;
6061
state->partial |= byte;
6162
state->bytes_processed++;

0 commit comments

Comments
 (0)