From 53ffbeeb6729fa6515dc48eb495fdb6f3b71fc02 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Sat, 26 Apr 2025 15:49:32 -0400 Subject: [PATCH] chore: fmt --- any_spawner/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/any_spawner/src/lib.rs b/any_spawner/src/lib.rs index 1d6dcbefa..663e7c458 100644 --- a/any_spawner/src/lib.rs +++ b/any_spawner/src/lib.rs @@ -472,8 +472,8 @@ fn handle_uninitialized_spawn(_fut: PinnedFuture<()>) { #[cfg(all(debug_assertions, not(feature = "tracing")))] { panic!( - "At {caller}, tried to spawn a Future with Executor::spawn() before a \ - global executor was initialized." + "At {caller}, tried to spawn a Future with Executor::spawn() \ + before a global executor was initialized." ); } // In release builds (without tracing), call the specific no-op function. @@ -502,8 +502,8 @@ fn handle_uninitialized_spawn_local(_fut: PinnedLocalFuture<()>) { #[cfg(all(debug_assertions, not(feature = "tracing")))] { panic!( - "At {caller}, tried to spawn a Future with Executor::spawn_local() \ - before a global executor was initialized." + "At {caller}, tried to spawn a Future with \ + Executor::spawn_local() before a global executor was initialized." ); } // In release builds (without tracing), call the specific no-op function (which usually panics).