Skip to content

Commit

Permalink
smallvec: export SByteVec to the api
Browse files Browse the repository at this point in the history
  • Loading branch information
cchudant committed May 3, 2024
1 parent 67bf964 commit 183dcef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ use crate::trie::merkle_tree::{bytes_to_bitvec, MerkleTree};
#[cfg(not(feature = "std"))]
use alloc::{format, vec::Vec};

pub(crate) type SByteVec = smallvec::SmallVec<[u8; 32]>;
pub type SByteVec = smallvec::SmallVec<[u8; 32]>;

pub(crate) trait EncodeExt: parity_scale_codec::Encode {
fn encode_sbytevec(&self) -> SByteVec {
Expand Down

0 comments on commit 183dcef

Please sign in to comment.