start adding review

This commit is contained in:
steven-omaha
2023-01-14 19:32:03 +01:00
parent 8210d65fe7
commit b956782249
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()
}