remove dead code

This commit is contained in:
Cyryl Płotnicki 2019-09-07 11:39:19 +01:00
parent 2228534a9c
commit 8f67cccac9

View file

@ -30,14 +30,6 @@ impl AsRef<[u8]> for ItemVersion {
} }
} }
impl Deref for ItemVersion {
type Target = [u8];
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<&[u8]> for ItemVersion { impl From<&[u8]> for ItemVersion {
fn from(a: &[u8]) -> Self { fn from(a: &[u8]) -> Self {
ItemVersion(Box::from(a)) ItemVersion(Box::from(a))