chore: fits method takes owned self

This commit is contained in:
Stefanuk12 2025-04-25 19:40:30 +01:00
parent d39ee9b9e7
commit 31e0a68c74
No known key found for this signature in database
GPG key ID: 7E19B1E4C83A2A35

View file

@ -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,