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 d2dbc25 commit 76dc0e2Copy full SHA for 76dc0e2
src/utils.rs
@@ -33,8 +33,7 @@ pub(crate) fn get_tokio_runtime() -> &'static TokioRuntime {
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
- let rt = TokioRuntime(tokio::runtime::Runtime::new().unwrap());
37
- rt
+ TokioRuntime(tokio::runtime::Runtime::new().unwrap())
38
})
39
}
40
0 commit comments