Skip to content

Commit 96ceacb

Browse files
committed
Fix experimental build
1 parent 8833d12 commit 96ceacb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dict.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl<'a> EncoderDictionary<'a> {
4848
/// Only available with the `experimental` feature. Use `EncoderDictionary::copy` otherwise.
4949
pub fn new(dictionary: &'a [u8], level: i32) -> Self {
5050
Self {
51-
cdict: zstd_safe::create_cdict_by_reference(dictionary, level),
51+
cdict: zstd_safe::CDict::create_by_reference(dictionary, level),
5252
}
5353
}
5454

@@ -82,7 +82,7 @@ impl<'a> DecoderDictionary<'a> {
8282
/// Only available with the `experimental` feature. Use `DecoderDictionary::copy` otherwise.
8383
pub fn new(dict: &'a [u8]) -> Self {
8484
Self {
85-
ddict: zstd_safe::create_ddict_by_reference(dict),
85+
ddict: zstd_safe::DDict::create_by_reference(dict),
8686
}
8787
}
8888

0 commit comments

Comments
 (0)