Skip to content

Conversation

denispeplin
Copy link

The link: https://doc.rust-lang.org/stable/std/thread/fn.spawn.html

I'm not sure why the documentation is not linked from the book, maybe there's a reason for that.

The link: https://doc.rust-lang.org/stable/std/thread/fn.spawn.html
I'm not sure why the documentation is not linked from the book, maybe there's a reason for that.
@denispeplin denispeplin changed the title Update code snipped for std::thread::spawn Update code snippet for std::thread::spawn Feb 21, 2023
@denispeplin
Copy link
Author

It turns out, there is another copy of the same snippet on the same page: https://rust-book.cs.brown.edu/ch20-02-multithreaded.html#creating-space-to-store-the-threads

@willcrichton
Copy link
Collaborator

Thanks for the helpful change! If you can update the other snippet to match, I will merge this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants