This commit is contained in:
parent
302b7539e9
commit
f7f02e83fe
|
@ -29,7 +29,7 @@ pub fn main() void {
|
||||||
// The main() function can not be async. But we know
|
// The main() function can not be async. But we know
|
||||||
// getBeef() will not suspend with this particular
|
// getBeef() will not suspend with this particular
|
||||||
// invocation. Please make this okay:
|
// invocation. Please make this okay:
|
||||||
var my_beef = getBeef(0);
|
var my_beef = nosuspend getBeef(0);
|
||||||
|
|
||||||
print("beef? {X}!\n", .{my_beef});
|
print("beef? {X}!\n", .{my_beef});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue