File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
branches/master-next/stdlib/public/core Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 3574c513bbc5578dd9346b4ea9ab5995c5927bb5
3
- refs/heads/master-next: 06102a9ffa7f964cafbde8efb9b95bfe52d39265
3
+ refs/heads/master-next: f6547cc82814e8beebc761f58cd453f409a9fce6
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
6
6
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-b: 66d897bfcf64a82cb9a87f5e663d889189d06d07
Original file line number Diff line number Diff line change 20
20
///
21
21
/// let doubled = [1, 2, 3].lazy.map { $0 * 2 }
22
22
///
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 .
25
25
///
26
26
/// Sequence operations that take closure arguments, such as `map(_:)` and
27
27
/// `filter(_:)`, are normally eager: They use the closure immediately and
124
124
/// }
125
125
/// }
126
126
///
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
128
128
/// and discards the resulting array. Instead, use `reduce` for summing
129
129
/// operations, or `forEach` or a `for`-`in` loop for operations with side
130
130
/// effects.
You can’t perform that action at this time.
0 commit comments