xmr-btc-swap/swap
Thomas Eizinger 54bc91581f
Don't unnecessarily create async blocks
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.
2021-03-03 14:53:05 +11:00
..
src Don't unnecessarily create async blocks 2021-03-03 14:53:05 +11:00
tests Don't unnecessarily create async blocks 2021-03-03 14:53:05 +11:00
Cargo.toml Add windows support to monero rpc installer 2021-03-02 15:09:12 +11:00