diff --git a/.cargo/config.toml b/.cargo/config.toml index 4865338..68c7980 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -3,5 +3,5 @@ rustflags = ["--cfg=web_sys_unstable_apis"] [build] #just comment in the "current" target -#target = "x86_64-unknown-linux-gnu" -target = "wasm32-unknown-unknown" +target = "x86_64-unknown-linux-gnu" +#target = "wasm32-unknown-unknown" diff --git a/src/backend/native.rs b/src/backend/native.rs index 9d25274..af47659 100644 --- a/src/backend/native.rs +++ b/src/backend/native.rs @@ -70,7 +70,8 @@ pub async fn get_device(device_filter: Vec) -> Result Result; /// Reset the device, which causes it to no longer be usable. You must - /// request a new device with [crate::get_device] or [crate::get_device_filter] + /// request a new device with [crate::get_device] async fn reset(&self) -> Result<(), UsbError>; /// Remove the device from the paired devices list, causing it to no longer be usable. You must request to reconnect using [crate::get_device]