mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix: fix RuntimeInitArgs generic in MockRuntime::new_any_thread
This commit is contained in:
@@ -1172,7 +1172,7 @@ impl<T: UserEvent> Runtime<T> for MockRuntime {
|
||||
target_os = "netbsd",
|
||||
target_os = "openbsd"
|
||||
))]
|
||||
fn new_any_thread(_args: RuntimeInitArgs) -> Result<Self> {
|
||||
fn new_any_thread(_args: RuntimeInitArgs<()>) -> Result<Self> {
|
||||
Ok(Self::init())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user