Skip to content

Commit 594354a

Browse files
committed
explicitly allow data containters to be unused
1 parent 807317b commit 594354a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/codes_handle/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ pub struct CodesHandle<SOURCE: Debug + SpecialDrop> {
115115

116116
#[derive(Debug)]
117117
enum DataContainer {
118+
#[allow(unused)]
118119
FileBytes(Bytes),
120+
#[allow(unused)]
119121
FileBuffer(File),
120122
#[cfg(feature = "experimental_index")]
121123
Empty(),

0 commit comments

Comments
 (0)