···11# Changelog
2233+## Next
44+- Changed `from_pipelines` to accept an iterator instead of vector
55+36## 0.3.1 - 2023 Feb 17
47- Fix `Pipeline::from_path` panic
58
+5-1
src/pipeline.rs
···6868 ///
6969 /// assert_eq!(csv, "A,B\n1,2\n1,2\n");
7070 /// ```
7171- pub fn from_pipelines(pipelines: Vec<Pipeline<'a>>) -> Self {
7171+ pub fn from_pipelines<I>(pipelines: I) -> Self
7272+ where
7373+ I: IntoIterator<Item = Pipeline<'a>>,
7474+ <I as IntoIterator>::IntoIter: 'a,
7575+ {
7276 let mut pipelines = pipelines.into_iter();
7377 let current = pipelines.next();
7478 let headers = match current {