mirror of
https://github.com/G2-Games/cross-usb.git
synced 2025-04-19 13:22:53 -05:00
Eliminated remaining warnings
This commit is contained in:
parent
e2b970d817
commit
0ffcbeee5f
2 changed files with 3 additions and 3 deletions
|
@ -5,8 +5,8 @@ use wasm_bindgen::prelude::*;
|
||||||
use js_sys::{Array, Object, Promise, Uint8Array};
|
use js_sys::{Array, Object, Promise, Uint8Array};
|
||||||
use wasm_bindgen_futures::JsFuture;
|
use wasm_bindgen_futures::JsFuture;
|
||||||
use web_sys::{
|
use web_sys::{
|
||||||
console, Usb, UsbControlTransferParameters, UsbDevice as WasmUsbDevice,
|
console, UsbControlTransferParameters, UsbDevice as WasmUsbDevice,
|
||||||
UsbDeviceRequestOptions, UsbInTransferResult, UsbInterface as WasmUsbInterface,
|
UsbDeviceRequestOptions, UsbInTransferResult,
|
||||||
UsbOutTransferResult, UsbRecipient, UsbRequestType,
|
UsbOutTransferResult, UsbRecipient, UsbRequestType,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#![cfg_attr(debug_assertions, allow(async_fn_in_trait))]
|
#![allow(async_fn_in_trait)]
|
||||||
use crate::context::UsbInterface;
|
use crate::context::UsbInterface;
|
||||||
use std::error::Error;
|
use std::error::Error;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue