Replace "= try foo" with "=? foo"

This commit is contained in:
Nigel Tao committed 2018-12-01 13:11:47 +11:00
1 parent ad9851ea75
commit 9741eada02
14 files changed
+75 -82

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ pub func decoder.decode!??(dst base.io_writer, src base.io_reader) {
var checksum_got base.u32
while true {
args.dst.set_mark!()
var z base.status = try this.flate.decode!??(dst:args.dst, src:args.src)
var z base.status =? this.flate.decode!??(dst:args.dst, src:args.src)
if not this.ignore_checksum {
checksum_got = this.checksum.update!(x:args.dst.since_mark())
}