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

Simplify the brief description of `crate::stop`
This commit is contained in:
Hirrolot 2022-10-10 22:10:43 +06:00 committed by GitHub
commit 0d4e662dc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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