Remove redundant let Some (#14880)

This commit is contained in:
Zanie Blue
2025-07-24 17:29:56 -05:00
committed by GitHub
parent cd4cf27d88
commit e48a9c0992
+1 -3
View File
@@ -3779,9 +3779,7 @@ impl Fork {
if self.env.included_by_group(conflicting_item) {
return true;
}
if let Some(conflicting_item) = dep.package.conflicting_item() {
self.conflicts.remove(&conflicting_item);
}
self.conflicts.remove(&conflicting_item);
false
});
Some(self)