Skip to content

Commit cf720ec

Browse files
committed
SendAlert io::ErrorKind should be InvalidData
1 parent 4a4a448 commit cf720ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ where
327327
alert,
328328
// TODO(eliza): should this really return an `io::Error`?
329329
// Probably not...
330-
error: io::Error::new(io::ErrorKind::Other, error),
330+
error: io::Error::new(io::ErrorKind::InvalidData, error),
331331
});
332332
}
333333
};

0 commit comments

Comments
 (0)