core: Update task spawning example

This commit is contained in:
Brian Anderson
2012-01-07 17:11:54 -08:00
parent 48019c5b0a
commit e3afc78fde
+3 -3
View File
@@ -21,9 +21,9 @@
Example:
> spawn("Hello, World", fn (&&msg: str) {
> log(debug, msg);
> });
> spawn {||
> log(debug, "Hello, World!");
> };
*/
import cast = unsafe::reinterpret_cast;