@@ -63,7 +63,7 @@ impl TaskPoolBuilder {
6363
6464 /// The task pool contains a dynamically scaling group of threads for handling blocking tasks.
6565 /// The pool will spin up and down threads as needed, unlike the threads allocated by
66- /// [`num_threads`] which are always available. By default, zero threads will be spawned at
66+ /// [`Self:: num_threads`] which are always available. By default, zero threads will be spawned at
6767 /// initialization, and up to `num_blocking_threads` will be spun up. Upon reaching that limit,
6868 /// calls to [`spawn_blocking`] and [`spawn_blocking_async`] will wait until one of the threads
6969 /// becomes available.
@@ -644,7 +644,7 @@ impl TaskPool {
644644 /// ## Platform Specific Behavior
645645 /// Long running blocking operations in browser environments will panic, so the app
646646 /// must yield back to the browser periodically. If you're targeting web platforms,
647- /// consider using [`spawn_blocking_async`].
647+ /// consider using [`Self:: spawn_blocking_async`].
648648 ///
649649 /// [thrash]: https://en.wikipedia.org/wiki/Thrashing_(computer_science)
650650 pub fn spawn_blocking < T > ( & self , f : impl FnOnce ( ) -> T + Send + ' static ) -> Task < T >
@@ -675,7 +675,7 @@ impl TaskPool {
675675 /// asynchronously. When you run CPU-bound code using `spawn_blocking`,
676676 /// you should keep this large upper limit in mind; to run your
677677 /// CPU-bound computations on only a few threads. Spawning too many threads
678- /// will cause the OS to [ thrash] , which may impact the performance
678+ /// will cause the OS to thrash, which may impact the performance
679679 /// of the non-blocking tasks scheduled onto the `TaskPool`.
680680 ///
681681 /// The returned task can be detached or cancelled; however, any long standing
0 commit comments