We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the "Spawning a task" section of the tutorial, the text refers to thechild_task variable in this snippet:
child_task
let some_value = 22; task::spawn {|| std::io::println("This executes in the child task."); std::io::println(#fmt("%d", some_value)); }
No child_task is mentioned. From subsequent examples, I assume it should be let child_task = task::spawn {||.
let child_task = task::spawn {||
The text was updated successfully, but these errors were encountered:
Fixed by 57af1e9. task::spawn doesn't return a value now.
task::spawn
Sorry, something went wrong.
Fix some broken links under bootstrapping. (rust-lang#1958)
d237866
* Fix some broken links under bootstrapping. * Fix more broken links for bootstrapping.
62ad597
No branches or pull requests
In the "Spawning a task" section of the tutorial, the text refers to the
child_task
variable in this snippet:No
child_task
is mentioned. From subsequent examples, I assume it should belet child_task = task::spawn {||
.The text was updated successfully, but these errors were encountered: