fmt strikes again

This commit is contained in:
noah
2026-05-29 16:25:29 -05:00
parent 89291980f1
commit 422941abea
3 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -4,9 +4,9 @@
//! compilation.
mod pool;
pub(crate) use pool::{spawn_blocking, BlockingPool, Spawner};
#[cfg(feature = "rt-multi-thread")]
pub(crate) use pool::spawn_blocking_internal;
pub(crate) use pool::{spawn_blocking, BlockingPool, Spawner};
cfg_fs! {
pub(crate) use pool::spawn_mandatory_blocking;
+3 -1
View File
@@ -196,7 +196,9 @@ where
R: Send + 'static,
{
let rt = Handle::current();
rt.inner.blocking_spawner().spawn_blocking_internal(&rt, func)
rt.inner
.blocking_spawner()
.spawn_blocking_internal(&rt, func)
}
cfg_fs! {
+1 -4
View File
@@ -20,10 +20,7 @@ pub(crate) struct BlockingSchedule {
impl BlockingSchedule {
#[cfg_attr(not(feature = "test-util"), allow(unused_variables))]
pub(crate) fn new(
handle: &Handle,
#[cfg(tokio_unstable)] run_task_hooks: bool,
) -> Self {
pub(crate) fn new(handle: &Handle, #[cfg(tokio_unstable)] run_task_hooks: bool) -> Self {
#[cfg(feature = "test-util")]
{
match &handle.inner {