Skip to content

Commit 7f24572

Browse files
author
Sriya Pratipati
committed
fixed formatting
1 parent e7669d3 commit 7f24572

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
@@ -44,7 +44,8 @@ int CharacterConverter::push(char8_t utf8_byte) {
4444
/* Since the format is 110xxxxx, 1110xxxx, and 11110xxx for 2, 3, and 4,
4545
we will make the base mask with 7 ones and right shift it as necessary. */
4646
constexpr size_t SIGNIFICANT_BITS = 7;
47-
char8_t base_mask = static_cast<char8_t>(mask_trailing_ones<uint8_t, SIGNIFICANT_BITS>());
47+
char8_t base_mask =
48+
static_cast<char8_t>(mask_trailing_ones<uint8_t, SIGNIFICANT_BITS>());
4849
state->total_bytes = num_ones;
4950
utf8_byte &= (base_mask >> num_ones);
5051
}

0 commit comments

Comments
 (0)