start adding review

This commit is contained in:
timeshifter
2023-01-14 19:32:03 +01:00
parent e7b80b5bff
commit 45751665b0
9 changed files with 168 additions and 1 deletions
+4
View File
@@ -16,6 +16,10 @@ impl ToDoPerBackend {
self.0.push(item);
}
pub(crate) fn into_iter(self) -> impl Iterator<Item = (Box<dyn Backend>, Vec<Package>)> {
self.0.into_iter()
}
pub(crate) fn iter(&self) -> impl Iterator<Item = &(Box<dyn Backend>, Vec<Package>)> {
self.0.iter()
}