run cargo fmt

This commit is contained in:
Michael Bryant 2021-02-21 17:33:27 -08:00
parent 8d349b6f0c
commit de4b7255ea
No known key found for this signature in database
GPG key ID: D2614C09FD76338B

View file

@ -90,7 +90,10 @@ where
// A future improvement may be to use feature flags to enable using a specific runtime
// to run the future synchronously. This is the easiest way to implement it, though, and
// introduces no new dependencies.
impl<T> TestContext for T where T: AsyncTestContext + Send {
impl<T> TestContext for T
where
T: AsyncTestContext + Send,
{
fn setup() -> Self {
futures::executor::block_on(<T as AsyncTestContext>::setup())
}