Use ArrayRef::slice instead of manually constructing an ArrayRef from ArrayRef iterat...