From b58f731ef3d7b70bae4ba439fe7190866c5d3e8a Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Fri, 7 Oct 2022 22:50:08 +0600 Subject: [PATCH] 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: a7981cc99b362f0769b3dd9f70aa45231f708537 --- src/stop.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/stop.rs b/src/stop.rs index f61caf3d..71fcebe9 100644 --- a/src/stop.rs +++ b/src/stop.rs @@ -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};