Skip to content

Commit 7dd6283

Browse files
committed
---
yaml --- r: 349280 b: refs/heads/master-next c: f6547cc h: refs/heads/master
1 parent 7d92306 commit 7dd6283

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3-
refs/heads/master-next: 06102a9ffa7f964cafbde8efb9b95bfe52d39265
3+
refs/heads/master-next: f6547cc82814e8beebc761f58cd453f409a9fce6
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
66
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07

branches/master-next/stdlib/public/core/LazySequence.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
///
2121
/// let doubled = [1, 2, 3].lazy.map { $0 * 2 }
2222
///
23-
/// Each time an element of the lazy sequence `doubled` is accessed, an element
24-
/// of the underlying array is accessed and transformed by the closure.
23+
/// Each time an element of the lazy sequence `doubled` is accessed, the
24+
/// closure accesses and transforms an element of the underlying array.
2525
///
2626
/// Sequence operations that take closure arguments, such as `map(_:)` and
2727
/// `filter(_:)`, are normally eager: They use the closure immediately and
@@ -124,7 +124,7 @@
124124
/// }
125125
/// }
126126
///
127-
/// Don't actually use `map` for this purpose, however, since it creates
127+
/// Don't actually use `map` for this purpose, however, because it creates
128128
/// and discards the resulting array. Instead, use `reduce` for summing
129129
/// operations, or `forEach` or a `for`-`in` loop for operations with side
130130
/// effects.

0 commit comments

Comments
 (0)