// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
use ;
use crateArena;
/// Build a collection from an iterator, allocating into a user-supplied arena.
///
/// The arena is passed as `&'a Arena<A>`. This is the arena-aware counterpart
/// to [`core::iter::FromIterator`]. Implemented for [`Vec`](crate::vec::Vec)
/// and [`String`](crate::strings::String).