//! Various functions to work with assembled patch sets
usecrate::Patch;/// A set of patches that can be applied to a repo
pubstructPatchSet<'maildir>{list:Vec<Patch<'maildir>>,
}impl<'maildir>PatchSet<'maildir>{/// Consumes a PatchSet with a builder on each patch in the series
pubfnexec<F>(self, cb: F)where
F: Fn(Patch<'maildir>),
{self.list.into_iter().for_each(|p|cb(p));}}