We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd4bd59 commit 1dd4561Copy full SHA for 1dd4561
src/librustc_middle/ty/util.rs
@@ -778,9 +778,9 @@ impl<'tcx> ty::TyS<'tcx> {
778
}
779
780
781
- /// Returns `true` if equality for this type is both total and structural.
+ /// Returns `true` if equality for this type is both reflexive and structural.
782
///
783
- /// Total equality for a type is indicated by an `Eq` impl for that type.
+ /// Reflexive equality for a type is indicated by an `Eq` impl for that type.
784
785
/// Primitive types (`u32`, `str`) have structural equality by definition. For composite data
786
/// types, equality for the type as a whole is structural when it is the same as equality
0 commit comments