Add two new methods for creating a GenericArray reference from a slice in situations where the caller doesn't know the length of the incoming slice. In such a situation, these methods are safer than from_slice() and from_mut_slice() because they don't panic.
Add two new methods for creating a
GenericArray
reference from a slice in situations where the caller doesn't know the length of the incoming slice. In such a situation, these methods are safer thanfrom_slice()
andfrom_mut_slice()
because they don't panic.