Skip to content

Commit cf19c6c

Browse files
committed
stdlib: format a code snippet as a code block
rdar://22422749 Swift SVN r31922
1 parent 2ff89aa commit cf19c6c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

stdlib/public/core/Sequence.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ public protocol GeneratorType {
4848
/// As a consequence, it is not possible to run multiple `for` loops
4949
/// on a sequence to "resume" iteration:
5050
///
51-
/// for element in sequence {
52-
/// if ... some condition { break }
53-
/// }
51+
/// for element in sequence {
52+
/// if ... some condition { break }
53+
/// }
5454
///
55-
/// for element in sequence {
56-
/// // Not guaranteed to continue from the next element.
57-
/// }
55+
/// for element in sequence {
56+
/// // Not guaranteed to continue from the next element.
57+
/// }
5858
///
5959
/// `SequenceType` makes no requirement about the behavior in that
6060
/// case. It is not correct to assume that a sequence will either be

0 commit comments

Comments
 (0)