diff --git a/lib/src/chunk.rs b/lib/src/chunk.rs index 34139d50..6d500f4d 100644 --- a/lib/src/chunk.rs +++ b/lib/src/chunk.rs @@ -259,12 +259,12 @@ impl> Chunk for (ChunkType, T) { impl Chunk for &T { #[inline] fn ty(&self) -> ChunkType { - (*self).ty() + T::ty(*self) } #[inline] fn data(&self) -> &[u8] { - (*self).data() + T::data(*self) } }