fix minor stuff

This commit is contained in:
steven-omaha
2023-02-01 13:08:59 +01:00
parent 6fde122d9b
commit ab253cfcc1
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ impl Backend for Rust {
.context("getting all installed packages") .context("getting all installed packages")
} }
fn make_dependency(&self, packages: &[Package]) -> Result<ExitStatus> { fn make_dependency(&self, _: &[Package]) -> Result<ExitStatus> {
unreachable!() unreachable!("cargo does not have unmanaged packages")
} }
} }
+1
View File
@@ -32,6 +32,7 @@ pub(crate) trait Backend: Debug {
/// Get all packages that were installed in the system explicitly. /// Get all packages that were installed in the system explicitly.
fn get_explicitly_installed_packages(&self) -> Result<HashSet<Package>>; fn get_explicitly_installed_packages(&self) -> Result<HashSet<Package>>;
// TODO continue here
fn assign_group(&self, to_assign: Vec<(Package, Rc<Group>)>) { fn assign_group(&self, to_assign: Vec<(Package, Rc<Group>)>) {
todo!(); todo!();
let mut group_package_map = HashMap::new(); let mut group_package_map = HashMap::new();