Skip to content

Commit

Permalink
Remove comment about embedded_io::ErrorKind::TimedOut
Browse files Browse the repository at this point in the history
  • Loading branch information
Sympatron committed Oct 2, 2024
1 parent 4d4e721 commit 689ec95
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libosdp/src/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ impl From<std::io::Error> for ChannelError {
impl<E: embedded_io::Error + Sized> From<E> for ChannelError {
fn from(value: E) -> Self {
match value.kind() {
//TODO determine if this is the correct error kind
// embedded_io::ErrorKind::TimedOut => ChannelError::WouldBlock,
_ => ChannelError::TransportError,
}
}
Expand Down

0 comments on commit 689ec95

Please sign in to comment.