Skip to content

Commit e578f21

Browse files
zhangpfGabrielMajeri
authored andcommitted
Fix dependency problem
1 parent 0942c35 commit e578f21

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/result/status.rs

-2
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,6 @@ impl From<ucs2::Error> for Status {
194194
fn from(other: ucs2::Error) -> Self {
195195
use ucs2::Error;
196196
match other {
197-
Error::InvalidData => Status::INVALID_PARAMETER,
198-
Error::BufferUnderflow => Status::BAD_BUFFER_SIZE,
199197
Error::BufferOverflow => Status::BUFFER_TOO_SMALL,
200198
Error::MultiByte => Status::UNSUPPORTED,
201199
}

0 commit comments

Comments
 (0)