We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0942c35 commit e578f21Copy full SHA for e578f21
src/result/status.rs
@@ -194,8 +194,6 @@ impl From<ucs2::Error> for Status {
194
fn from(other: ucs2::Error) -> Self {
195
use ucs2::Error;
196
match other {
197
- Error::InvalidData => Status::INVALID_PARAMETER,
198
- Error::BufferUnderflow => Status::BAD_BUFFER_SIZE,
199
Error::BufferOverflow => Status::BUFFER_TOO_SMALL,
200
Error::MultiByte => Status::UNSUPPORTED,
201
}
0 commit comments