mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 15:42:49 +00:00
test/cases/cancel.zig: update suspend to use @handle();
Tracking Issue #1296 ;
This commit is contained in:
parent
9bed23f8b7
commit
9b890d7067
@ -85,8 +85,8 @@ async fn b4() void {
|
||||
defer {
|
||||
defer_b4 = true;
|
||||
}
|
||||
suspend |p| {
|
||||
b4_handle = p;
|
||||
suspend {
|
||||
b4_handle = @handle();
|
||||
}
|
||||
suspend;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user