pub const fn from_slice(slice: &'a [(T, ())]) -> Self {
        Self {
            list: AssocList::new(slice),
        }
    }
/// Make a new `MultiSet` containing the values in the given slice.
///
/// Provided for the sake of creating empty const sets. Passing non-empty
/// slices is not recommended.
///
/// # Examples
///
/// ```
/// use arena_collections::{AssocList, MultiSet};
///
/// const EMPTY_MULTISET: MultiSet<'_, i32> = MultiSet::from_slice(&[]);
/// assert!(EMPTY_MULTISET.is_empty());
/// ```
Make a new `MultiSet` containing the values in the given slice.
Provided for the sake of creating empty const sets. Passing non-empty
slices is not recommended.
Make a new ` MultiSet ` containing the values in the given slice . Provided for the sake of creating empty const sets . Passing non - empty slices is not recommended .
pub const fn from_slice(slice: &'a [(T, ())]) -> Self {
        Self {
            list: AssocList::new(slice),
        }
    }
pub const fn from_slice ( slice : & ' a [ ( T , ( ) ) ] ) -> Self { Self { list : AssocList :: new ( slice ) , } }
Make a new `MultiSet` containing the values in the given slice.
Make a new ` MultiSet ` containing the values in the given slice .
slice
&'a [(T, ())]
slice
&'a [(T, ())]
examples
```
use arena_collections::{AssocList, MultiSet}.

const EMPTY_MULTISET: MultiSet<'_, i32> = MultiSet::from_slice(&[]);
assert!(EMPTY_MULTISET.is_empty());
```
` ` ` use arena_collections :: { AssocList MultiSet } . const EMPTY_MULTISET : MultiSet< ' _ i32 > = MultiSet :: from_slice ( & [] ) ; assert! ( EMPTY_MULTISET . is_empty () ) ; ` ` `