]> git.lizzy.rs Git - rust.git/commit
Inline `thread::park` documentation.
authorFelix Raimundo <felix.raimundo@tweag.io>
Sun, 7 May 2017 16:55:20 +0000 (18:55 +0200)
committerFelix Raimundo <felix.raimundo@tweag.io>
Sun, 7 May 2017 17:10:44 +0000 (19:10 +0200)
commitfa0cdaa63f575c81c7cc87239f7dfcc677362c78
treeb961cb71dd708b0a2295d9cf8c53214c0e71a7d6
parentc0d475ad7b44c153b4999709ff08a9275160ea1c
Inline `thread::park` documentation.

Part of #29378

- Moves the module documentation into `park`.
- Add the same example as the one from `unpark` to `park`.
src/libstd/thread/mod.rs