chore(lint): clean up frontend and Rust lint issues

This commit is contained in:
xintaofei
2026-04-23 15:56:41 +08:00
parent 1dd40d0baf
commit 022172a9ea
69 changed files with 1138 additions and 1248 deletions

View File

@@ -56,11 +56,7 @@ pub enum EventEmitter {
}
/// Unified event emission: sends to both Tauri webview and Web clients (if applicable).
pub fn emit_event(
emitter: &EventEmitter,
event: &str,
payload: impl Serialize + Clone,
) {
pub fn emit_event(emitter: &EventEmitter, event: &str, payload: impl Serialize + Clone) {
match emitter {
#[cfg(feature = "tauri-runtime")]
EventEmitter::Tauri(app) => {