We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e833acd + 82e1c7b commit dfb092dCopy full SHA for dfb092d
1 file changed
embedded-io/src/lib.rs
@@ -137,6 +137,7 @@ impl From<ErrorKind> for std::io::ErrorKind {
137
ErrorKind::Interrupted => std::io::ErrorKind::Interrupted,
138
ErrorKind::Unsupported => std::io::ErrorKind::Unsupported,
139
ErrorKind::OutOfMemory => std::io::ErrorKind::OutOfMemory,
140
+ ErrorKind::WriteZero => std::io::ErrorKind::WriteZero,
141
_ => std::io::ErrorKind::Other,
142
}
143
@@ -163,6 +164,7 @@ impl From<std::io::ErrorKind> for ErrorKind {
163
164
std::io::ErrorKind::Interrupted => ErrorKind::Interrupted,
165
std::io::ErrorKind::Unsupported => ErrorKind::Unsupported,
166
std::io::ErrorKind::OutOfMemory => ErrorKind::OutOfMemory,
167
+ std::io::ErrorKind::WriteZero => ErrorKind::WriteZero,
168
_ => ErrorKind::Other,
169
170
0 commit comments