File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ public type Array<Element: SemiRegular>: SemiRegular {
207207
208208}
209209
210- public conformance Array: Equatable {
210+ public conformance Array: Equatable where Element: Equatable {
211211
212212 /// Returns `true` iff `other` has an equivalent value.
213213 public fun infix== (_ other: Self) -> Bool {
Original file line number Diff line number Diff line change 33///
44/// - Move is value-preserving.
55/// - Destruction has no side-effects.
6- public trait SemiRegular: Deinitializable, Movable, Equatable {}
6+ public trait SemiRegular: Copyable, Deinitializable {}
77
88/// Regular types (roughly per Stepanov).
99///
1010/// Copies have equal value.
11- public trait Regular: SemiRegular, Copyable {}
11+ public trait Regular: SemiRegular, Equatable {}
You can’t perform that action at this time.
0 commit comments