summaryrefslogtreecommitdiff
path: root/src/packages.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2024-09-30 14:43:46 +0200
committerfxqnlr <[email protected]>2024-09-30 14:43:46 +0200
commit7179fa0262c92b124e5d444754a572b2cecbf5cd (patch)
tree55e0a23f17883b5841baff81402ea2cae3b347cc /src/packages.rs
parent83ac2ad62c27a3089f892b409405f74c4952f2da (diff)
downloadarbs-7179fa0262c92b124e5d444754a572b2cecbf5cd.tar
arbs-7179fa0262c92b124e5d444754a572b2cecbf5cd.tar.gz
arbs-7179fa0262c92b124e5d444754a572b2cecbf5cd.zip
fix merge errorHEADmain
Diffstat (limited to 'src/packages.rs')
-rw-r--r--src/packages.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/packages.rs b/src/packages.rs
index 5fb08d0..8efc928 100644
--- a/src/packages.rs
+++ b/src/packages.rs
@@ -65,9 +65,9 @@ impl Manager {
65 65
66 fn from_str(value: &str) -> Result<Self> { 66 fn from_str(value: &str) -> Result<Self> {
67 Ok(match value { 67 Ok(match value {
68 "fedora" => Box::new(Dnf), 68 "fedora" => Self::Dnf,
69 "arch" => Box::new(Pacman), 69 "arch" => Self::Pacman,
70 "gentoo" => Box::new(Portage), 70 "gentoo" => Self::Portage,
71 _ => return Err(Error::Unsupported), 71 _ => return Err(Error::Unsupported),
72 }) 72 })
73 } 73 }