Skip to content

Commit c491baa

Browse files
committed
formatting
1 parent b3304ed commit c491baa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

libc/src/__support/wchar/character_converter.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ void CharacterConverter::clear() {
3535
}
3636

3737
bool CharacterConverter::isFull() {
38-
return state->bytes_stored == state->total_bytes &&
39-
state->total_bytes != 0;
38+
return state->bytes_stored == state->total_bytes && state->total_bytes != 0;
4039
}
4140

4241
bool CharacterConverter::isEmpty() { return state->bytes_stored == 0; }
@@ -128,8 +127,7 @@ ErrorOr<char8_t> CharacterConverter::pop_utf8() {
128127
char32_t output;
129128

130129
// Shift to get the next 6 bits from the utf32 encoding
131-
const size_t shift_amount =
132-
(state->bytes_stored - 1) * ENCODED_BITS_PER_UTF8;
130+
const size_t shift_amount = (state->bytes_stored - 1) * ENCODED_BITS_PER_UTF8;
133131
if (isFull()) {
134132
/*
135133
Choose the correct set of most significant bits to encode the length

0 commit comments

Comments
 (0)