aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/src/class/hid.rs
diff options
context:
space:
mode:
authorGabriel Smith <[email protected]>2022-11-27 16:32:18 -0500
committerGabriel Smith <[email protected]>2022-11-27 16:32:18 -0500
commit4d84b5469ece6e7ad1597b6da41972a0ea391672 (patch)
treef7430ced5f326544ff5e7f2cee8ef8e5adbd1a2b /embassy-usb/src/class/hid.rs
parent3ca14ba4e9feee2f0d34c8dd1c0e426d2090d8d8 (diff)
Drive-by documentation link fixes
Diffstat (limited to 'embassy-usb/src/class/hid.rs')
-rw-r--r--embassy-usb/src/class/hid.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-usb/src/class/hid.rs b/embassy-usb/src/class/hid.rs
index 4d1fa995f..b967aba0e 100644
--- a/embassy-usb/src/class/hid.rs
+++ b/embassy-usb/src/class/hid.rs
@@ -299,7 +299,7 @@ impl<'d, D: Driver<'d>, const N: usize> HidReader<'d, D, N> {
299 /// **Note:** If `N` > the maximum packet size of the endpoint (i.e. output 299 /// **Note:** If `N` > the maximum packet size of the endpoint (i.e. output
300 /// reports may be split across multiple packets) and this method's future 300 /// reports may be split across multiple packets) and this method's future
301 /// is dropped after some packets have been read, the next call to `read()` 301 /// is dropped after some packets have been read, the next call to `read()`
302 /// will return a [`ReadError::SyncError()`]. The range in the sync error 302 /// will return a [`ReadError::Sync`]. The range in the sync error
303 /// indicates the portion `buf` that was filled by the current call to 303 /// indicates the portion `buf` that was filled by the current call to
304 /// `read()`. If the dropped future used the same `buf`, then `buf` will 304 /// `read()`. If the dropped future used the same `buf`, then `buf` will
305 /// contain the full report. 305 /// contain the full report.