Skip to content

Commit 5afc348

Browse files
chore: clean up console warnings
1 parent b9a7f8a commit 5afc348

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src-tauri/src/core/extensions/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ pub fn get_active_extensions<R: Runtime>(app: AppHandle<R>) -> Vec<serde_json::V
5858
vec![]
5959
}
6060
};
61-
return contents;
61+
contents
6262
}
6363
}

src-tauri/src/core/setup.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ fn setup_window_theme_listener<R: Runtime>(
294294
tauri::Theme::Dark => "dark",
295295
_ => "auto",
296296
};
297-
log::info!("System theme changed to: {} for window: {}", theme_str, window_label);
297+
log::info!("System theme changed to: {theme_str} for window: {window_label}");
298298
let _ = app_handle_clone.emit("theme-changed", theme_str);
299299
}
300300
});

src-tauri/src/core/threads/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ async fn test_concurrent_message_operations() {
432432
let app_h = app_handle.clone();
433433
let tid = thread_id.clone();
434434
tokio::spawn(async move {
435-
create_message(app_h, create_test_message(&tid, &format!("Message {}", i))).await
435+
create_message(app_h, create_test_message(&tid, &format!("Message {i}"))).await
436436
})
437437
})
438438
.collect();

0 commit comments

Comments
 (0)