Skip to content

Commit

Permalink
ok, clippy...
Browse files Browse the repository at this point in the history
  • Loading branch information
gbj committed Oct 11, 2023
1 parent f430cba commit 9e4325e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions integrations/axum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ macro_rules! spawn_task {
let pool_handle = get_leptos_pool();
pool_handle.spawn_pinned(move || { $block });
} else {
_ = $block;
panic!("It appears you have set `default-features = false` on `leptos_axum`, \
eprintln!("\n\nIt appears you have set `default-features = false` on `leptos_axum`, \
but are not using the `wasm` feature. Either remove `default-features = false` or, \
if you are running in a JS-hosted WASM server environment, add the `wasm` feature.");
if you are running in a JS-hosted WASM server environment, add the `wasm` feature.\n\n");
spawn_local($block);
}
}
};
Expand Down

0 comments on commit 9e4325e

Please sign in to comment.