Skip to content

Commit

Permalink
♻️ use fully qualified syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanTsune committed Nov 14, 2024
1 parent 588fa5b commit b532c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/chunk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@ impl<T: Deref<Target = [u8]>> Chunk for (ChunkType, T) {
impl<T: Chunk> Chunk for &T {
#[inline]
fn ty(&self) -> ChunkType {
(*self).ty()
T::ty(*self)
}

#[inline]
fn data(&self) -> &[u8] {
(*self).data()
T::data(*self)
}
}

Expand Down

0 comments on commit b532c68

Please sign in to comment.