mirror of
https://github.com/fossasia/badgemagic-rs
synced 2025-06-24 15:53:58 +00:00
chore(typo): Fix typo in src/usb_hid.rs
This commit is contained in:
parent
9c80ee3457
commit
ff87dca6d0
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ pub struct Device {
|
|||
}
|
||||
|
||||
impl Device {
|
||||
/// Return a list of all usb devies as a string representation
|
||||
/// Return a list of all usb devices as a string representation
|
||||
pub fn list_all() -> Result<Vec<String>> {
|
||||
let api = HidApi::new().context("create hid api")?;
|
||||
let devices = api.device_list();
|
||||
|
|
Loading…
Reference in a new issue