pub const fn from_slice(list: &'a [(T, ())]) -> Self {
        Self {
            list: SortedAssocList::from_slice(list),
        }
    }
/// Make a new `SortedSet` containing the values in the given slice.
///
/// Provided for the sake of creating empty const sets. Passing non-empty
/// slices is not recommended.
///
/// The values in the slice must be in ascending sorted order (by `T`'s
/// implementation of `Ord`). There must be no duplicate values in the
/// slice.
///
/// # Examples
///
/// ```
/// use arena_collections::SortedSet;
///
/// const EMPTY_SORTED_SET: SortedSet<'_, i32> = SortedSet::from_slice(&[]);
/// assert!(EMPTY_SORTED_SET.is_empty());
/// ```
Make a new `SortedSet` containing the values in the given slice.
Provided for the sake of creating empty const sets. Passing non-empty
slices is not recommended.

The values in the slice must be in ascending sorted order (by `T`'s
implementation of `Ord`). There must be no duplicate values in the
slice.
Make a new ` SortedSet ` containing the values in the given slice . Provided for the sake of creating empty const sets . Passing non - empty slices is not recommended . The values in the slice must be in ascending sorted order ( by ` T ` ' s implementation of ` Ord ` ) . There must be no duplicate values in the slice .
pub const fn from_slice(list: &'a [(T, ())]) -> Self {
        Self {
            list: SortedAssocList::from_slice(list),
        }
    }
pub const fn from_slice ( list : & ' a [ ( T , ( ) ) ] ) -> Self { Self { list : SortedAssocList :: from_slice ( list ) , } }
Make a new `SortedSet` containing the values in the given slice.
Make a new ` SortedSet ` containing the values in the given slice .
list
&'a [(T, ())]
list
&'a [(T, ())]
examples
```
use arena_collections::SortedSet.

const EMPTY_SORTED_SET: SortedSet<'_, i32> = SortedSet::from_slice(&[]);
assert!(EMPTY_SORTED_SET.is_empty());
```
` ` ` use arena_collections :: SortedSet . const EMPTY_SORTED_SET : SortedSet< ' _ i32 > = SortedSet :: from_slice ( & [] ) ; assert! ( EMPTY_SORTED_SET . is_empty () ) ; ` ` `