Skip to content

Commit 1d24475

Browse files
MorganReldruin
andauthored
Apply suggestions from code review
Co-authored-by: Diego Barrios Romero <[email protected]>
1 parent c30481f commit 1d24475

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/digital.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ pub trait InputPin {
175175
fn try_is_low(&self) -> Result<bool, Self::Error>;
176176
}
177177

178-
/// Single input pin that can switch from input to output mode, and vice-versa.
178+
/// Single pin that can switch from input to output mode, and vice-versa.
179179
pub trait IoPin<TInput, TOutput>
180180
where TInput : InputPin + IoPin<TInput, TOutput>,
181181
TOutput : OutputPin + IoPin<TInput, TOutput> {
@@ -192,4 +192,4 @@ where TInput : InputPin + IoPin<TInput, TOutput>,
192192
/// If the pin is already in the requested state, this method should
193193
/// succeed.
194194
fn try_switch_to_output_pin(self, state: PinState) -> Result<TOutput, Self::Error>;
195-
}
195+
}

0 commit comments

Comments
 (0)