mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-14 13:51:31 -05:00
![Thomas Eizinger](/assets/img/avatar_default.png)
If our expression directly evaluates to a future, we don't need to create an async block. This requires us to have `EventLoopRun::run` consume the instance instead of just taking a mutable reference (otherwise we run into lifetime issues). However, that is better anyway because `run` is an endless loop so you never get to use the handle afterwards anyway.