提交 e3afc78f 编写于 作者: B Brian Anderson

core: Update task spawning example

上级 48019c5b
......@@ -21,9 +21,9 @@
Example:
> spawn("Hello, World", fn (&&msg: str) {
> log(debug, msg);
> });
> spawn {||
> log(debug, "Hello, World!");
> };
*/
import cast = unsafe::reinterpret_cast;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册