mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-09 11:43:57 +01:00
Update src/requests/request.rs
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
parent
bb8148a3b3
commit
f1e5f3f1b3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue