Skip to content

Commit e583de9

Browse files
committed
Update documentation descriptions.
1 parent 66b6aff commit e583de9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Guides/Cycle.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ for x in (1...3).cycled(times: 3) {
1616
// Prints 1 through 3 three times
1717
```
1818

19-
`cycled(times:)` combines two other existing standard library functions
20-
(`repeatElement` and `joined`) to provide a more expressive way of repeating a
19+
`cycled(times:)` provides a more expressive way of repeating a
2120
collection's elements a limited number of times.
2221

2322
## Detailed Design
@@ -38,7 +37,8 @@ conforms to `LazySequenceProtocol` when the base type conforms.
3837

3938
Note that the returned `FiniteCycle` will always have `Collection`
4039
conformance, and will have `BidirectionalCollection` conformance
41-
when called on a bidirectional collection.
40+
when called on a bidirectional collection. `FiniteCycle` also
41+
conforms to `LazyCollectionProtocol` when the base type conforms.
4242

4343
### Complexity
4444

0 commit comments

Comments
 (0)