Skip to content

Commit 3e20a0d

Browse files
committed
cargo doc warning cleanup
1 parent 5f6e49b commit 3e20a0d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/class.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ use crate::{Result, UsbError};
88

99
/// A trait for implementing USB classes.
1010
///
11-
/// All methods are optional callbacks that will be called by
12-
/// [UsbBus::poll](crate::bus::UsbBus::poll)
11+
/// All methods are optional callbacks that will be called by [UsbBus::poll]
1312
pub trait UsbClass<B: UsbBus> {
1413
/// Called when a GET_DESCRIPTOR request is received for a configuration descriptor. When
1514
/// called, the implementation should write its interface, endpoint and any extra class

0 commit comments

Comments
 (0)