remove dead code
This commit is contained in:
parent
2228534a9c
commit
8f67cccac9
1 changed files with 0 additions and 8 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue