From 8f67cccac9a1ac5c2ffe40866990b02c0832d378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 7 Sep 2019 11:39:19 +0100 Subject: [PATCH] remove dead code --- src/index.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/index.rs b/src/index.rs index 17854df..1abef3b 100644 --- a/src/index.rs +++ b/src/index.rs @@ -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 { fn from(a: &[u8]) -> Self { ItemVersion(Box::from(a))