Skip to content

Commit

Permalink
Fix linter warning (#10)
Browse files Browse the repository at this point in the history
* Fix linter warning

* Fix linter warnings
  • Loading branch information
pyaillet authored Jan 27, 2024
1 parent 765d06b commit 8c19ecd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ where
/// # Arguments
///
/// - `i2c` I2C bus used to communicate with the device
/// - `size` [Dimension](Dimension) of the device
/// - `size` [`Dimension`] of the device
///
/// # Returns
///
Expand All @@ -394,8 +394,8 @@ where
/// # Arguments
///
/// - `i2c` I2C bus used to communicate with the device
/// - `size` [Dimension](Dimension) of the device
/// - `config`- [ProcessEventConfig](ProcessEventConfig) for the event processor
/// - `size` [`Dimension`] of the device
/// - `config`- [`ProcessEventConfig`] for the event processor
///
/// # Returns
///
Expand Down Expand Up @@ -441,7 +441,7 @@ where
///
/// # Arguments
///
/// - `orientation` - set the new [Orientation](Orientation)
/// - `orientation` - set the new [`Orientation`]
pub fn set_orientation(&mut self, orientation: Orientation) {
self.orientation = orientation;
}
Expand All @@ -450,7 +450,7 @@ where
///
/// # Returns
///
/// - [TouchEvent](TouchEvent) the full TouchEvent report
/// - [`TouchEvent`] the full TouchEvent report
pub fn get_touch_event(&mut self) -> Result<RawTouchEvent, <I2C as ErrorType>::Error> {
let mut report: [u8; REPORT_SIZE] = [0; REPORT_SIZE];
self.i2c
Expand Down

0 comments on commit 8c19ecd

Please sign in to comment.