We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76dc0e2 commit f99152eCopy full SHA for f99152e
src/utils.rs
@@ -32,9 +32,7 @@ pub(crate) fn get_tokio_runtime() -> &'static TokioRuntime {
32
// which adds a check in that disallows calls from a forked process
33
// https://github.com/delta-io/delta-rs/blob/87010461cfe01563d91a4b9cd6fa468e2ad5f283/python/src/utils.rs#L10-L31
34
static RUNTIME: OnceLock<TokioRuntime> = OnceLock::new();
35
- RUNTIME.get_or_init(|| {
36
- TokioRuntime(tokio::runtime::Runtime::new().unwrap())
37
- })
+ RUNTIME.get_or_init(|| TokioRuntime(tokio::runtime::Runtime::new().unwrap()))
38
}
39
40
/// Utility to collect rust futures with GIL released
0 commit comments