提交 1dd45612 编写于 作者: D Dylan MacKenzie

Use "reflexive equality" in docs

上级 bd4bd59a
......@@ -778,9 +778,9 @@ pub fn needs_drop(&'tcx self, tcx: TyCtxt<'tcx>, param_env: ty::ParamEnv<'tcx>)
}
}
/// Returns `true` if equality for this type is both total and structural.
/// Returns `true` if equality for this type is both reflexive and structural.
///
/// 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.
///
/// Primitive types (`u32`, `str`) have structural equality by definition. For composite data
/// types, equality for the type as a whole is structural when it is the same as equality
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册