tutorial: Minor formatting change in task example
This commit is contained in:
parent
78088fb813
commit
95f6e525d7
|
@ -2847,6 +2847,7 @@ import task::spawn;
|
||||||
import io::println;
|
import io::println;
|
||||||
|
|
||||||
let some_value = 22;
|
let some_value = 22;
|
||||||
|
|
||||||
do spawn {
|
do spawn {
|
||||||
println("This executes in the child task.");
|
println("This executes in the child task.");
|
||||||
println(#fmt("%d", some_value));
|
println(#fmt("%d", some_value));
|
||||||
|
|
Loading…
Reference in New Issue