Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync: fix
sync::broadcast::Sender<T>::closed()
doctest (#7090)
The test's previous iteration could sometimes flake since we didn't await the completion of the first task. Since the tasks only existed to `move` the relevant `rx`'s in, to force a drop, we can omit them entirely and drop the `rx`s via `drop()`. This prevents any scheduling-related flakes.
- Loading branch information