]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #22514 - diamondman:intro_doc_threading, r=steveklabnik
authorManish Goregaokar <manishsmail@gmail.com>
Mon, 23 Feb 2015 09:14:06 +0000 (14:44 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Mon, 23 Feb 2015 17:58:46 +0000 (23:28 +0530)
 Fixed example threaded code in intro doc never printing results. Threads were created with Thread::spawn instead of Thread::scoped. Also added correct thread handling like in the first example of the document.


Trivial merge