Merge pull request #739 from teloxide/simplify-stop-doc

Simplify the brief description of `crate::stop`

Former-commit-id: 0d4e662dc7
This commit is contained in:
Hirrolot 2022-10-10 22:10:43 +06:00 committed by GitHub
commit 98924eeed0

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};