core: Update task spawning example

This commit is contained in:
Brian Anderson 2012-01-07 17:11:54 -08:00
parent 48019c5b0a
commit e3afc78fde

View File

@ -21,9 +21,9 @@ Tasks may execute in parallel and are scheduled automatically by the runtime.
Example:
> spawn("Hello, World", fn (&&msg: str) {
> log(debug, msg);
> });
> spawn {||
> log(debug, "Hello, World!");
> };
*/
import cast = unsafe::reinterpret_cast;