`thread::scoped` API was removed from the std, so [this section]( https://doc.rust-lang.org/nomicon/leaking.html#threadscopedjoinguard) and references to it should be removed.
thread::scopedAPI was removed from the std, so this section and references to it should be removed.