aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-registry/src/installer_executor/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart-registry/src/installer_executor/mod.rs')
-rw-r--r--crates/mozart-registry/src/installer_executor/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/mozart-registry/src/installer_executor/mod.rs b/crates/mozart-registry/src/installer_executor/mod.rs
index 1fab19f..c70fe12 100644
--- a/crates/mozart-registry/src/installer_executor/mod.rs
+++ b/crates/mozart-registry/src/installer_executor/mod.rs
@@ -40,8 +40,9 @@ pub enum PackageOperation<'a> {
impl<'a> PackageOperation<'a> {
pub fn package(&self) -> &'a LockedPackage {
match self {
- PackageOperation::Install { package }
- | PackageOperation::Update { package, .. } => package,
+ PackageOperation::Install { package } | PackageOperation::Update { package, .. } => {
+ package
+ }
}
}
}