mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Make mark a method, not a keyword.
This commit is contained in:
1 parent
36f5ae9bf4
commit
474a0d2ed7
11 files changed
+89
-17
No files matched your search
@@ -117,8 +117,7 @@ pub struct flate_decoder?(
|
||||
|
||||
pub func flate_decoder.decode?(dst writer1, src reader1)() {
|
||||
while true {
|
||||
// TODO: this could be "in.dst.mark()" instead of a keyword.
|
||||
mark in.dst
|
||||
in.dst.mark()
|
||||
var z status = try this.decode_blocks?(dst:in.dst, src:in.src)
|
||||
if not z.is_suspension() {
|
||||
// TODO: rename "return" to "raise"?
|
||||
|
||||
Reference in new issue
Block a user