mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Simplify a std/json while as an if
This commit is contained in:
1 parent
161fa6ae4a
commit
ecd3285567
2 files changed
+3
-3
No files matched your search
@@ -145,9 +145,9 @@ pub func decoder.decode_tokens?(dst: base.token_writer, src: base.io_reader, wor
|
||||
var expect : base.u32
|
||||
var expect_after_value : base.u32
|
||||
|
||||
while this.end_of_data {
|
||||
if this.end_of_data {
|
||||
return base."@end of data"
|
||||
} endwhile
|
||||
}
|
||||
|
||||
if this.quirk_enabled_allow_leading_ascii_record_separator or
|
||||
this.quirk_enabled_allow_leading_unicode_byte_order_mark {
|
||||
|
||||
Reference in new issue
Block a user