Skip to content

Commit 76dc0e2

Browse files
fix clippy lint
1 parent d2dbc25 commit 76dc0e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ pub(crate) fn get_tokio_runtime() -> &'static TokioRuntime {
3333
// https://github.com/delta-io/delta-rs/blob/87010461cfe01563d91a4b9cd6fa468e2ad5f283/python/src/utils.rs#L10-L31
3434
static RUNTIME: OnceLock<TokioRuntime> = OnceLock::new();
3535
RUNTIME.get_or_init(|| {
36-
let rt = TokioRuntime(tokio::runtime::Runtime::new().unwrap());
37-
rt
36+
TokioRuntime(tokio::runtime::Runtime::new().unwrap())
3837
})
3938
}
4039

0 commit comments

Comments
 (0)