]> git.lizzy.rs Git - rust.git/commit
Update intro.md to fix thread spawning example Closes #22419
authorJessy Diamond Exum <jessy.diamondman@gmail.com>
Fri, 13 Feb 2015 20:13:28 +0000 (12:13 -0800)
committerJessy Diamond Exum <jessy.diamondman@gmail.com>
Sun, 22 Feb 2015 19:45:31 +0000 (11:45 -0800)
commit6154c88ddcbe7ffacbf72a9acf508a377bbb96a7
treed83047489c04ad5c21141d1dcc5226d4c7e2f414
parentdcc6ce2c772cb851ac35cbc2ddafcae9bf2fa9fd
Update intro.md to fix thread spawning example Closes #22419

Fixed example threaded code in intro doc never printing results. Threads were created with Thread::spawn instead of Thread::scoped.
src/doc/intro.md