`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.