mirror of
https://codeberg.org/JasterV/test-context.git
synced 2026-04-26 18:10:06 +00:00
run cargo fmt
This commit is contained in:
parent
8d349b6f0c
commit
de4b7255ea
1 changed files with 4 additions and 1 deletions
|
|
@ -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())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue