pub(crate) fn infallible<T>(result: Result<T, CollectionAllocErr>) -> T