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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)