Skip to content

Commit

Permalink
Update comment to add more context.
Browse files Browse the repository at this point in the history
Co-authored-by: Weihang Lo <weihanglo@users.noreply.github.com>
  • Loading branch information
ehuss and weihanglo authored May 12, 2023
1 parent a0f832f commit 996bca2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cargo/core/resolver/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ impl<'a, 'cfg> FeatureResolver<'a, 'cfg> {
//
// Don't enable if the implicit optional dependency
// feature wasn't created due to `dep:` hiding.
// See rust-lang/cargo#10788 and rust-lang/cargo#12130
let summary = self.resolve.summary(pkg_id);
let feature_map = summary.features();
if feature_map.contains_key(&dep_name) {
Expand Down

0 comments on commit 996bca2

Please sign in to comment.