Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a2e7b9b

Browse files
committedJul 1, 2022
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

+1-3
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)
Please sign in to comment.