Drive-by documentation link fixes
This commit is contained in:
parent
3ca14ba4e9
commit
4d84b5469e
@ -164,7 +164,7 @@ impl<'d, T: Instance> RealTimeClock<'d, T> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Errors that can occur on methods on [RtcClock]
|
/// Errors that can occur on methods on [RealTimeClock]
|
||||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||||
pub enum RtcError {
|
pub enum RtcError {
|
||||||
/// An invalid DateTime was given or stored on the hardware.
|
/// An invalid DateTime was given or stored on the hardware.
|
||||||
|
@ -184,7 +184,7 @@ pub trait Bus {
|
|||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// * [`Unsupported`](crate::driver::Unsupported) - This UsbBus implementation doesn't support
|
/// * [`Unsupported`](crate::Unsupported) - This UsbBus implementation doesn't support
|
||||||
/// simulating a disconnect or it has not been enabled at creation time.
|
/// simulating a disconnect or it has not been enabled at creation time.
|
||||||
fn force_reset(&mut self) -> Result<(), Unsupported> {
|
fn force_reset(&mut self) -> Result<(), Unsupported> {
|
||||||
Err(Unsupported)
|
Err(Unsupported)
|
||||||
@ -194,7 +194,7 @@ pub trait Bus {
|
|||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// * [`Unsupported`](crate::driver::Unsupported) - This UsbBus implementation doesn't support
|
/// * [`Unsupported`](crate::Unsupported) - This UsbBus implementation doesn't support
|
||||||
/// remote wakeup or it has not been enabled at creation time.
|
/// remote wakeup or it has not been enabled at creation time.
|
||||||
async fn remote_wakeup(&mut self) -> Result<(), Unsupported>;
|
async fn remote_wakeup(&mut self) -> Result<(), Unsupported>;
|
||||||
}
|
}
|
||||||
|
@ -299,7 +299,7 @@ impl<'d, D: Driver<'d>, const N: usize> HidReader<'d, D, N> {
|
|||||||
/// **Note:** If `N` > the maximum packet size of the endpoint (i.e. output
|
/// **Note:** If `N` > the maximum packet size of the endpoint (i.e. output
|
||||||
/// reports may be split across multiple packets) and this method's future
|
/// reports may be split across multiple packets) and this method's future
|
||||||
/// is dropped after some packets have been read, the next call to `read()`
|
/// is dropped after some packets have been read, the next call to `read()`
|
||||||
/// will return a [`ReadError::SyncError()`]. The range in the sync error
|
/// will return a [`ReadError::Sync`]. The range in the sync error
|
||||||
/// indicates the portion `buf` that was filled by the current call to
|
/// indicates the portion `buf` that was filled by the current call to
|
||||||
/// `read()`. If the dropped future used the same `buf`, then `buf` will
|
/// `read()`. If the dropped future used the same `buf`, then `buf` will
|
||||||
/// contain the full report.
|
/// contain the full report.
|
||||||
|
Loading…
Reference in New Issue
Block a user