Update src/requests/request.rs

Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
Temirkhan Myrzamadi 2020-12-23 23:16:49 +06:00 committed by GitHub
parent bb8148a3b3
commit f1e5f3f1b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ pub trait Request: HasPayload {
/// The type of an error that may happen while sending a request to Telegram.
type Err: std::error::Error + Send;
/// A type of the future returned by the [`send`](Request::send) method.
/// The type of the future returned by the [`send`](Request::send) method.
type Send: Future<Output = Result<Output<Self>, Self::Err>> + Send;
/// A type of the future returned by the [`send_ref`](Request::send_ref)