diff --git a/examples/axum_js_ssr/src/app.rs b/examples/axum_js_ssr/src/app.rs
index b4cbded87e..c7681f2e78 100644
--- a/examples/axum_js_ssr/src/app.rs
+++ b/examples/axum_js_ssr/src/app.rs
@@ -674,7 +674,7 @@ fn CodeDemoWasm(mode: WasmDemo) -> impl IntoView {
leptos::logging::log!("wasm csr_listener listener added");
// Dispatch the event when this view is finally mounted onto the DOM.
- request_animation_frame(move || {
+ _ = request_animation_frame(move || {
let event = web_sys::Event::new("hljs_hook")
.expect("error creating hljs_hook event");
document.dispatch_event(&event)
@@ -693,7 +693,7 @@ fn CodeDemoWasm(mode: WasmDemo) -> impl IntoView {
"Loading code example..."
}>{
move || Suspend::new(async move {
Effect::new(move |_| {
- request_animation_frame(move || {
+ _ = request_animation_frame(move || {
leptos::logging::log!("request_animation_frame invoking hljs::highlight_all");
// under SSR this is an noop, but it wouldn't be called under there anyway because
// it isn't the isomorphic version, i.e. Effect::new_isomorphic(...).
@@ -819,7 +819,7 @@ fn WasmBindgenJSHookReadyEvent() -> impl IntoView {
leptos::logging::log!("wasm csr_listener listener added");
// Dispatch the event when this view is finally mounted onto the DOM.
- request_animation_frame(move || {
+ _ = request_animation_frame(move || {
let event = web_sys::Event::new("hljs_hook")
.expect("error creating hljs_hook event");
document.dispatch_event(&event)
@@ -870,7 +870,7 @@ fn WasmBindgenEffect() -> impl IntoView {
let example = r#""Loading code example..." }>{
move || Suspend::new(async move {
Effect::new(move |_| {
- request_animation_frame(move || {
+ _ = request_animation_frame(move || {
leptos::logging::log!("request_animation_frame invoking hljs::highlight_all");
// under SSR this is an noop.
crate::hljs::highlight_all();
diff --git a/examples/router/src/api.rs b/examples/router/src/api.rs
index 0d602361e2..f4ba62fc08 100644
--- a/examples/router/src/api.rs
+++ b/examples/router/src/api.rs
@@ -97,7 +97,7 @@ fn delay(
duration: Duration,
) -> impl Future