Skip to content

Commit ccc41d8

Browse files
author
Dave Abrahams
committed
[stdlib] Repair some doc comments
Drive-by fix while cherry-picking.
1 parent 4d127e3 commit ccc41d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/public/core/Sequence.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,11 @@ public protocol IteratorProtocol {
323323
/// traverse a sequence should be considered O(*n*) unless documented
324324
/// otherwise.
325325
public protocol Sequence {
326+
/// A type representing the sequence's elements.
327+
associatedtype Element
328+
326329
/// A type that provides the sequence's iteration interface and
327330
/// encapsulates its iteration state.
328-
associatedtype Element
329331
associatedtype Iterator : IteratorProtocol where Iterator.Element == Element
330332

331333
/// A type that represents a subsequence of some of the sequence's elements.

0 commit comments

Comments
 (0)