Skip to content

Commit e6fa052

Browse files
committed
fmt
1 parent 44837c8 commit e6fa052

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

rust/src/mdl/mod.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ use std::sync::LazyLock;
77

88
/// Shared tokio runtime for blocking on async isomdl functions (e.g. CRL checks)
99
/// at the UniFFI boundary, avoiding async propagation to foreign callers.
10-
static RUNTIME: LazyLock<tokio::runtime::Runtime> = LazyLock::new(|| {
11-
tokio::runtime::Runtime::new().expect("Failed to create tokio runtime")
12-
});
10+
static RUNTIME: LazyLock<tokio::runtime::Runtime> =
11+
LazyLock::new(|| tokio::runtime::Runtime::new().expect("Failed to create tokio runtime"));
1312

1413
/// Run a future to completion, handling the case where we may already be
1514
/// inside a tokio runtime (e.g. in tests). When called from outside a runtime

0 commit comments

Comments
 (0)