]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #35997 - matthew-piziak:thread-current-example, r=GuillaumeGomez
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Tue, 30 Aug 2016 08:39:07 +0000 (10:39 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Aug 2016 08:39:07 +0000 (10:39 +0200)
commit23f769881ac4aa7b8b06006cf632b35bd3adb62d
tree50acadcb91e8768095dcd90eae70cc49bf050672
parent0c33197b909999321fb273da6e12bc0a7bd763e9
parentcf8e1fee1619b29fb1d9a355f28a9f992426dd5a
Rollup merge of #35997 - matthew-piziak:thread-current-example, r=GuillaumeGomez

add a simple example for `thread::current()`

r? @GuillaumeGomez
src/libstd/thread/mod.rs