Skip to content

Commit e508910

Browse files
authored
Merge pull request #168 from liigo/patch-1
fix a docs link of `HidApi::device_list`
2 parents 260a100 + c37dc38 commit e508910

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)