This commit is contained in:
parent
f964a101f6
commit
302b7539e9
|
@ -41,8 +41,8 @@ pub fn main() void {
|
|||
var com_frame = async getPageTitle("http://example.com");
|
||||
var org_frame = async getPageTitle("http://example.org");
|
||||
|
||||
var com_title = com_frame;
|
||||
var org_title = org_frame;
|
||||
var com_title = await com_frame;
|
||||
var org_title = await org_frame;
|
||||
|
||||
print(".com: {s}, .org: {s}.\n", .{ com_title, org_title });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue