Skip to content

Commit c37dc38

Browse files
authored
fix a docs link of HidApi::device_list
1 parent c45aecf commit c37dc38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ impl HidApi {
264264
Ok(HidDevice::from_backend(Box::new(dev)))
265265
}
266266

267-
/// The path name be determined by inspecting the device list available with [HidApi::devices()](struct.HidApi.html#method.devices)
267+
/// The path name be determined by inspecting the device list available with [`HidApi::device_list`].
268268
///
269269
/// Alternatively a platform-specific path name can be used (eg: /dev/hidraw0 on Linux).
270270
pub fn open_path(&self, device_path: &CStr) -> HidResult<HidDevice> {

0 commit comments

Comments
 (0)