move add_packages to macro

This commit is contained in:
Dr. Matthias Ratajczak
2023-01-10 12:05:36 +01:00
parent 03cc060d0f
commit 57f3d498bf
3 changed files with 6 additions and 12 deletions
-6
View File
@@ -24,12 +24,6 @@ impl Backend for Rust {
fn get_explicitly_installed_packages(&self) -> HashSet<Package> {
self.get_all_installed_packages()
}
fn add_packages(&mut self, packages: HashSet<Package>) {
for p in packages {
self.packages.insert(p);
}
}
}
fn run_cargo_install_list() -> String {