File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,7 @@ void CharacterConverter::clear() {
3535}
3636
3737bool 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
4241bool 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
You can’t perform that action at this time.
0 commit comments