diff --git a/src/lib.rs b/src/lib.rs index 4805b042..aff2f07c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -83,7 +83,8 @@ fn connect( config: Option, ) -> Result { let id = rand::random(); - let (ws_stream, _) = tauri::async_runtime::block_on(connect_async_with_config(url, config.map(Into::into)))?; + let (ws_stream, _) = + tauri::async_runtime::block_on(connect_async_with_config(url, config.map(Into::into)))?; tauri::async_runtime::spawn(async move { let (write, read) = ws_stream.split();