Commit Graph
3 Commits
Author SHA1 Message Date
Jeb Rosen 4f904b7ac7 Work around a difficult lifetime interaction between closures and async blocks. 2020-05-25 12:11:14 -07:00
Jeb Rosen e322d9509a Change '&' to '&mut'.
Key changes:
* `find plume-models -name '*.rs' -exec sed -i -e 's/&PlumeRocket/\&mut PlumeRocket/' '{}' \;`
* Remove `let conn = &*rockets.conn;` lines
* Change `conn` to `&mut *rockets.conn` where `conn` was used
2020-05-25 12:07:37 -07:00
Jeb RosenandIgor Galić 8aa99cea35 move signature outside the spawning
this allows us to actually move stuff into the async block
and we can drop the 'static life-time.
2020-05-06 22:29:32 +02:00