mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-20 22:08:59 +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.
|
// `R::send` and doing some magic around Pin.
|
||||||
InnerProj::Request(_) => {
|
InnerProj::Request(_) => {
|
||||||
// Replace `Request(_)` by `Done(_)` to obtain ownership over
|
// Replace `Request(_)` by `Done(_)` to obtain ownership over
|
||||||
// the request.
|
// the former.
|
||||||
let inner = this.as_mut().project_replace(Inner::Done);
|
let inner = this.as_mut().project_replace(Inner::Done);
|
||||||
// Map Request(req) to `Future(req.send())`
|
// Map Request(req) to `Future(req.send())`
|
||||||
let inner = match inner {
|
let inner = match inner {
|
||||||
|
|
Loading…
Add table
Reference in a new issue