File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -133,10 +133,7 @@ extension Sequence where Iterator.Element : Sequence {
133
133
}
134
134
}
135
135
136
- extension LazySequenceProtocol
137
- where
138
- Elements. Iterator. Element == Iterator . Element ,
139
- Iterator. Element : Sequence {
136
+ extension LazySequenceProtocol where Iterator. Element : Sequence {
140
137
141
138
/// Returns a lazy sequence that concatenates the elements of this sequence of
142
139
/// sequences.
@@ -418,8 +415,8 @@ extension LazyCollectionProtocol
418
415
Self : ${ collectionForTraversal ( traversal) } ,
419
416
Elements : ${ collectionForTraversal ( traversal) } ,
420
417
% end
421
- ${ constraints % { 'Base': 'Elements. '} } ,
422
- Iterator . Element == Elements . Iterator . Element {
418
+ ${ constraints % { 'Base': 'Elements. '} }
419
+ {
423
420
/// A concatenation of the elements of `self`.
424
421
public func joined( ) - > LazyCollection< ${ Collection} < Elements>> {
425
422
return ${ Collection} ( elements) . lazy
Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ public protocol LazySequenceProtocol : Sequence {
133
133
///
134
134
/// - See also: `elements`
135
135
associatedtype Elements : Sequence = Self
136
+ where Elements. Iterator. Element == Iterator . Element
136
137
137
138
/// A sequence containing the same elements as this one, possibly with
138
139
/// a simpler type.
You can’t perform that action at this time.
0 commit comments