Replace crossbeam::scope reference with thread::scope in docs (#11832)

# Objective

-
[`crossbeam::scope`](https://docs.rs/crossbeam/latest/crossbeam/fn.scope.html)
is soft-deprecated in favor of the standard library's implementation.

## Solution

- Replace reference in `TaskPool`'s docs to mention `std:🧵:scope`
instead.
This commit is contained in:
BD103 2024-02-12 14:29:29 -05:00 committed by GitHub
parent 2bc48254b8
commit b721aaa9d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -207,7 +207,7 @@ impl TaskPool {
/// passing a scope object into it. The scope object provided to the callback can be used
/// to spawn tasks. This function will await the completion of all tasks before returning.
///
/// This is similar to `rayon::scope` and `crossbeam::scope`
/// This is similar to [`thread::scope`] and `rayon::scope`.
///
/// # Example
///