summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index e9479d1..2884434 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -313,6 +313,16 @@ where
}
}
+impl<ItemT> Default for MultiVec<ItemT>
+where
+ ItemT: Item,
+{
+ fn default() -> Self
+ {
+ Self::new()
+ }
+}
+
impl<ItemT> Drop for MultiVec<ItemT>
where
ItemT: Item,