tutorial: Minor formatting change in task example
This commit is contained in:
parent
78088fb813
commit
95f6e525d7
1 changed files with 1 additions and 0 deletions
|
@ -2847,6 +2847,7 @@ import task::spawn;
|
|||
import io::println;
|
||||
|
||||
let some_value = 22;
|
||||
|
||||
do spawn {
|
||||
println("This executes in the child task.");
|
||||
println(#fmt("%d", some_value));
|
||||
|
|
Loading…
Add table
Reference in a new issue