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:
parent
2bc48254b8
commit
b721aaa9d3
@ -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
|
||||
///
|
||||
|
||||
Loading…
Reference in New Issue
Block a user