mirror of
https://github.com/pesde-pkg/pesde.git
synced 2025-05-04 10:33:47 +01:00
chore: fits method takes owned self
This commit is contained in:
parent
d39ee9b9e7
commit
31e0a68c74
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ pub enum InstallDependenciesMode {
|
|||
}
|
||||
|
||||
impl InstallDependenciesMode {
|
||||
fn fits(&self, dep_ty: DependencyType) -> bool {
|
||||
fn fits(self, dep_ty: DependencyType) -> bool {
|
||||
match (self, dep_ty) {
|
||||
(InstallDependenciesMode::All, _) => true,
|
||||
(InstallDependenciesMode::Prod, DependencyType::Standard) => true,
|
||||
|
|
Loading…
Add table
Reference in a new issue