Skip to content

Commit f99152e

Browse files
cargo fmt
1 parent 76dc0e2 commit f99152e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/utils.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ pub(crate) fn get_tokio_runtime() -> &'static TokioRuntime {
3232
// which adds a check in that disallows calls from a forked process
3333
// https://github.com/delta-io/delta-rs/blob/87010461cfe01563d91a4b9cd6fa468e2ad5f283/python/src/utils.rs#L10-L31
3434
static RUNTIME: OnceLock<TokioRuntime> = OnceLock::new();
35-
RUNTIME.get_or_init(|| {
36-
TokioRuntime(tokio::runtime::Runtime::new().unwrap())
37-
})
35+
RUNTIME.get_or_init(|| TokioRuntime(tokio::runtime::Runtime::new().unwrap()))
3836
}
3937

4038
/// Utility to collect rust futures with GIL released

0 commit comments

Comments
 (0)