missing Ok(()) in docs
Zercerium opened this issue · 1 comments
Zercerium commented
Hi, thanks for specta.
There is a missing Ok(())
in this position
https://github.com/oscartbeaumont/tauri-specta/blob/main/docs/v2.md#events
tauri::Builder::default()
.invoke_handler(invoke_handler)
.setup(|app| {
register_events(app);
+ Ok(())
})
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
oscartbeaumont commented
Thanks!