This is only used in 2 places, both just to search through the list, so returning a copy was wasteful. This patch changes it to return an `ArrayRef` so that a copy isn't made.
This is only used in 2 places, both just to search through the list, so returning a copy was wasteful. This patch changes it to return an `ArrayRef` so that a copy isn't made.