Remove unsafe trait impls.

This commit is contained in:
Isis Lovecruft 2020-07-16 23:02:27 +00:00
parent 7243d7151d
commit d3a5b3bd81
No known key found for this signature in database
GPG key ID: AB41313533E8E812

View file

@ -45,9 +45,6 @@ pub(crate) enum InternalError {
PrehashedContextLengthError,
}
unsafe impl Send for InternalError {}
unsafe impl Sync for InternalError {}
impl Display for InternalError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match *self {