Skip to content

Commit bc0c45a

Browse files
committed
fix Serializable derivation: was not derived for Vec<u8>
1 parent ce1f042 commit bc0c45a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

crates/core/src/bytes_ser_de.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::{
1010
};
1111

1212
use leb128;
13-
use zeroize::{DefaultIsZeroes, Zeroizing};
13+
use zeroize::{Zeroize, Zeroizing};
1414

1515
use crate::CryptoCoreError;
1616

@@ -619,7 +619,7 @@ impl<K: Hash + Eq + Serializable, V: Serializable> Serializable for HashMap<K, V
619619
}
620620
}
621621

622-
impl<T: Serializable + DefaultIsZeroes> Serializable for Zeroizing<T> {
622+
impl<T: Serializable + Zeroize> Serializable for Zeroizing<T> {
623623
type Error = CryptoCoreError;
624624

625625
fn length(&self) -> usize {

0 commit comments

Comments
 (0)