mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-05 10:24:32 +01:00
rephase
This commit is contained in:
parent
f4b11095a7
commit
57afa34609
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ impl<R: Request> Future for AutoRequest<R> {
|
|||
// `R::send` and doing some magic around Pin.
|
||||
InnerProj::Request(_) => {
|
||||
// Replace `Request(_)` by `Done(_)` to obtain ownership over
|
||||
// the request.
|
||||
// the former.
|
||||
let inner = this.as_mut().project_replace(Inner::Done);
|
||||
// Map Request(req) to `Future(req.send())`
|
||||
let inner = match inner {
|
||||
|
|
Loading…
Reference in a new issue