Skip to content

Commit 1b2ce33

Browse files
committed
update comment
1 parent b4ff787 commit 1b2ce33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/profiles.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ impl Profile {
657657
}
658658
}
659659

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

0 commit comments

Comments
 (0)