From 895b25dcf214ece8b61d33dfa67bda0da5a5546d Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 27 Aug 2024 21:07:33 +0200 Subject: feat: make MultiVec implement Default --- src/lib.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src') 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 Default for MultiVec +where + ItemT: Item, +{ + fn default() -> Self + { + Self::new() + } +} + impl Drop for MultiVec where ItemT: Item, -- cgit v1.2.3-18-g5258