Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Hezuikn committed Sep 21, 2022
1 parent c0b513c commit 869951c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/profiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ impl Profile {
}
}

/// Compares all fields except `name`, which doesn't affect compilation.
/// Don't compare/hash fields which wont affect compilation.
/// This is necessary for `Unit` deduplication for things like "test" and
/// "dev" which are essentially the same.
fn comparable(&self) -> impl Hash + Eq + '_ {
Expand Down

0 comments on commit 869951c

Please sign in to comment.