fix minor stuff

This commit is contained in:
Dr. Matthias Ratajczak
2023-02-01 13:08:59 +01:00
parent eed0886fe4
commit 3f1b477c2e
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")
}
fn make_dependency(&self, packages: &[Package]) -> Result<ExitStatus> {
unreachable!()
fn make_dependency(&self, _: &[Package]) -> Result<ExitStatus> {
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.
fn get_explicitly_installed_packages(&self) -> Result<HashSet<Package>>;
// TODO continue here
fn assign_group(&self, to_assign: Vec<(Package, Rc<Group>)>) {
todo!();
let mut group_package_map = HashMap::new();