aboutsummaryrefslogtreecommitdiff
path: root/ebml/src/size.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ebml/src/size.rs')
-rw-r--r--ebml/src/size.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/ebml/src/size.rs b/ebml/src/size.rs
index 06d6ba8..e774f0a 100644
--- a/ebml/src/size.rs
+++ b/ebml/src/size.rs
@@ -19,11 +19,3 @@ impl EbmlSize {
}
}
}
-impl Into<usize> for EbmlSize {
- fn into(self) -> usize {
- match self {
- EbmlSize::Exact(s) => s,
- EbmlSize::Unknown => panic!("unknown size, where it should have been known"),
- }
- }
-}