arch_pkg_db/text/single/
collect.rs

1use super::TextCollection;
2use crate::Text;
3
4impl FromIterator<Text> for TextCollection {
5    fn from_iter<Iter: IntoIterator<Item = Text>>(iter: Iter) -> Self {
6        TextCollection {
7            internal: Vec::from_iter(iter),
8        }
9    }
10}