diff --git a/src/arrayset.rs b/src/arrayset.rs index 291178a..c498cb1 100644 --- a/src/arrayset.rs +++ b/src/arrayset.rs @@ -134,7 +134,7 @@ where arr.swap(i, l1); } self.len -= L::from(1); - return take(&mut arr[l1]); + return Some(take(&mut arr[l1])); } } None