Переглянути джерело

refactor(core): fix typo in event.rs (#2126)

recieved -> received
Ikko Ashimine 4 роки тому
батько
коміт
8f16c1df7e
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      core/tauri/src/endpoints/event.rs

+ 1 - 1
core/tauri/src/endpoints/event.rs

@@ -48,7 +48,7 @@ impl Cmd {
 
         let window_label: Option<P::Label> = window_label.map(|l| {
           l.parse()
-            .unwrap_or_else(|_| panic!("Event module recieved unhandled window: {}", l))
+            .unwrap_or_else(|_| panic!("Event module received unhandled window: {}", l))
         });
 
         // dispatch the event to Rust listeners