mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 09:54:41 -05:00
chore: fmt
This commit is contained in:
@@ -472,8 +472,8 @@ fn handle_uninitialized_spawn(_fut: PinnedFuture<()>) {
|
|||||||
#[cfg(all(debug_assertions, not(feature = "tracing")))]
|
#[cfg(all(debug_assertions, not(feature = "tracing")))]
|
||||||
{
|
{
|
||||||
panic!(
|
panic!(
|
||||||
"At {caller}, tried to spawn a Future with Executor::spawn() before a \
|
"At {caller}, tried to spawn a Future with Executor::spawn() \
|
||||||
global executor was initialized."
|
before a global executor was initialized."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
// In release builds (without tracing), call the specific no-op function.
|
// 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")))]
|
#[cfg(all(debug_assertions, not(feature = "tracing")))]
|
||||||
{
|
{
|
||||||
panic!(
|
panic!(
|
||||||
"At {caller}, tried to spawn a Future with Executor::spawn_local() \
|
"At {caller}, tried to spawn a Future with \
|
||||||
before a global executor was initialized."
|
Executor::spawn_local() before a global executor was initialized."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
// In release builds (without tracing), call the specific no-op function (which usually panics).
|
// In release builds (without tracing), call the specific no-op function (which usually panics).
|
||||||
|
|||||||
Reference in New Issue
Block a user