client::next: match done
1 files changed, 3 insertions(+), 1 deletions(-) M cmd/hissh-export/main.ha
M cmd/hissh-export/main.ha => cmd/hissh-export/main.ha +3 -1
@@ 55,10 55,12 @@ export fn main() void = { const iter = client::query(conn, client::operation::QUERY, &q, 0)!; for (true) { const key = match (client::next(&iter)) { case void => case done => break; case let key: query::query => yield key; case let e: client::error => fmt::fatal(client::strerror(e)); }; defer query::finish(&key); encode(&key);