Skip to content

Commit

Permalink
cargo doc warning cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrrees committed Aug 10, 2024
1 parent ca3a1ee commit dddcc23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ use crate::{Result, UsbError};

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

0 comments on commit dddcc23

Please sign in to comment.