Fix StructuralEq
impls for &T
, [T]
and [T; N]
(`StructuralEq` is shallow for some reason...)
This commit is contained in:
parent
182eee298c
commit
c31754651d
@ -277,9 +277,9 @@ marker_impls! {
|
||||
bool,
|
||||
char,
|
||||
str /* Technically requires `[u8]: StructuralEq` */,
|
||||
{T: StructuralEq, const N: usize} [T; N],
|
||||
{T: StructuralEq} [T],
|
||||
{T: ?Sized + StructuralEq} &T,
|
||||
{T, const N: usize} [T; N],
|
||||
{T} [T],
|
||||
{T: ?Sized} &T,
|
||||
}
|
||||
|
||||
/// Types whose values can be duplicated simply by copying bits.
|
||||
|
Loading…
x
Reference in New Issue
Block a user