Simplify the brief description of crate::stop

Usually, we have very brief descriptions of modules. I see no reason to make it elaborate -- it does even contain only a few items.

Former-commit-id: a7981cc99b
This commit is contained in:
Hirrolot 2022-10-07 22:50:08 +06:00 committed by GitHub
parent 141b72db9b
commit b58f731ef3

View file

@ -1,8 +1,5 @@
//! This module contains stop [token] and stop [flag] that are used to stop
//! async tasks, for example [listeners].
//! Stopping asynchronous tasks, e.g., [listeners].
//!
//! [token]: StopToken
//! [flag]: StopFlag
//! [listeners]: crate::dispatching::update_listeners
use std::{convert::Infallible, future::Future, pin::Pin, task};