pub fn new(capacity: usize) -> RawTable<K, V> {
        match Self::new_internal(capacity, Infallible) {
            Err(CollectionAllocErr::CapacityOverflow) => panic!("capacity overflow"),
            Err(CollectionAllocErr::AllocErr) => unreachable!(),
            Ok(table) => { table }
        }
    }
/// Creates a new raw table from a given capacity. All buckets are
/// initially empty.
Creates a new raw table from a given capacity. All buckets are
initially empty.
Creates a new raw table from a given capacity . All buckets are initially empty .
pub fn new(capacity: usize) -> RawTable<K, V> {
        match Self::new_internal(capacity, Infallible) {
            Err(CollectionAllocErr::CapacityOverflow) => panic!("capacity overflow"),
            Err(CollectionAllocErr::AllocErr) => unreachable!(),
            Ok(table) => { table }
        }
    }
pub fn new ( capacity : usize ) -> RawTable < K , V > { match Self :: new_internal ( capacity , Infallible ) { Err ( CollectionAllocErr :: CapacityOverflow ) => panic ! ( " " ) , Err ( CollectionAllocErr :: AllocErr ) => unreachable ! ( ) , Ok ( table ) => { table } } }
Creates a new raw table from a given capacity.
Creates a new raw table from a given capacity .
capacity
usize