Skip to content

Commit 7c7947c

Browse files
committed
fixup! feat: provide ability to create a custom tokio runtime builder
1 parent f7ac77f commit 7c7947c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,7 @@ pub fn set_runtime_builder(
471471
*guard = Some(builder);
472472
}
473473

474+
#[allow(clippy::type_complexity)]
474475
static TOKIO1_RUNTIME_BUILDER: Lazy<
475476
Mutex<Option<Box<dyn FnOnce() -> tokio::runtime::Builder + Send + Sync + 'static>>>,
476477
> = Lazy::new(|| Mutex::new(None));

0 commit comments

Comments
 (0)