]> git.lizzy.rs Git - rust.git/commit
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)
commit59726953cc5d27d73df1d024801394126b0854fa
treeef462fbcba1f6ad5e055f11baef09e5b384b9475
parent1517313a74b34805ab1beaea0335dd7dbdd046a1
parent6154c88ddcbe7ffacbf72a9acf508a377bbb96a7
Rollup merge of #22514 - diamondman:intro_doc_threading, r=steveklabnik

 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.