Skip to content

Commit a2e7b9b

Browse files
committed
clippy
1 parent f97955c commit a2e7b9b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/hall.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,5 @@ unsafe impl Send for HallSensor {}
1818
impl embedded_hal_0_2::adc::Channel<adc::ADC1> for HallSensor {
1919
type ID = ();
2020

21-
fn channel() -> Self::ID {
22-
()
23-
}
21+
fn channel() -> Self::ID {}
2422
}

0 commit comments

Comments
 (0)