Allows for collecting an Iterator into an exactly sized array.
use collect_array::CollectArrayResult; let result: CollectArrayResult<_, 2> = vec![1, 2].into_iter().collect(); assert_eq!(CollectArrayResult::Ok([1, 2]), result);