Skip to content

Commit

Permalink
Ignore clippy warning about method name
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed Jan 25, 2021
1 parent d936ab8 commit cca8f09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/reading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ where
///
/// See also: [ThermostatMode](enum.ThermostatMode.html),
/// [AlertPolarity](enum.AlertPolarity.html).
#[allow(clippy::wrong_self_convention)]
pub fn is_comparator_mode_alert_active(&mut self) -> Result<bool, Error<E>> {
let mut data = [0; 2];
self.i2c
Expand Down

0 comments on commit cca8f09

Please sign in to comment.