Skip to content

Commit aeb4b2d

Browse files
committed
docs: update heading levels to be consistent in task spawning note
1 parent 8066064 commit aeb4b2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/task-spawning.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ Note that, as a legacy API, usage of the lazy API is generally discouraged for m
187187
- Distinct schedulers don't share runtime metrics or learned parameters, thus causing the scheduler to act less intelligently
188188
- Distinct schedulers can't share work or data directly
189189

190-
### Scheduler and Thunk options
190+
## Scheduler and Thunk options
191191

192192
While Dagger generally "just works", sometimes one needs to exert some more
193193
fine-grained control over how the scheduler allocates work. There are two
@@ -221,7 +221,7 @@ Dagger.spawn(+, Dagger.Options(;single=1), 1, 2)
221221
delayed(+; single=1)(1, 2)
222222
```
223223

224-
### Changing the thread occupancy for low-utilization tasks
224+
## Changing the thread occupancy
225225

226226
One of the supported [`Sch.ThunkOptions`](@ref) is the `occupancy` keyword.
227227
The basic usage looks like this:

0 commit comments

Comments
 (0)