From f1e5f3f1b31d2c05010be4dba7023e4119ddb21f Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Wed, 23 Dec 2020 23:16:49 +0600 Subject: [PATCH] Update src/requests/request.rs Co-authored-by: Waffle Lapkin --- src/requests/request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/requests/request.rs b/src/requests/request.rs index 7e504803..38ca6a61 100644 --- a/src/requests/request.rs +++ b/src/requests/request.rs @@ -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, Self::Err>> + Send; /// A type of the future returned by the [`send_ref`](Request::send_ref)