Skip to content

Commit 5e04dca

Browse files
author
Harsh
committed
Generator type alias not required
1 parent 40b5ce5 commit 5e04dca

File tree

5 files changed

+2
-5
lines changed

5 files changed

+2
-5
lines changed

Design-Patterns.playground.zip

-17 Bytes
Binary file not shown.

Design-Patterns.playground/Documentation/section-87.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<h1 id="info">Info</h1>
1515
<p>🍺 Playground generated with: <a href="https://github.com/jas/playground">playground</a> by <a href="http://twitter.com/jasonsandmeyer">@jasonsandmeyer</a></p>
1616
<p>📖 Descriptions from: <a href="http://www.blackwasp.co.uk/GangOfFour.aspx">Gang of Four Design Patterns Reference Sheet</a></p>
17-
<p>🚀 How to generate playground (+zip) from this README: <a href="https://github.com/ochococo/Design-Patterns-In-Swift/blob/master/GENERATE.markdown">GENERATE.markdown</a></p>
17+
<p>🚀 How to generate playground (+zip) from this README: <a href="https://github.com/ochococo/Design-Patterns-In-Swift/blob/master/GENERATE.md">GENERATE.md</a></p>
1818

1919
</section>
2020
</div>

Design-Patterns.playground/section-10.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ struct Cart<T> {
33
}
44

55
extension Cart: SequenceType {
6-
typealias Generator = GeneratorOf<T>
76

87
func generate() -> GeneratorOf<T> {
98
var i = 0

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ struct Cart<T> {
186186
}
187187

188188
extension Cart: SequenceType {
189-
typealias Generator = GeneratorOf<T>
190189

191190
func generate() -> GeneratorOf<T> {
192191
var i = 0
@@ -1121,4 +1120,4 @@ Info
11211120

11221121
📖 Descriptions from: [Gang of Four Design Patterns Reference Sheet](http://www.blackwasp.co.uk/GangOfFour.aspx)
11231122

1124-
🚀 How to generate playground (+zip) from this README: [GENERATE.markdown](https://github.com/ochococo/Design-Patterns-In-Swift/blob/master/GENERATE.markdown)
1123+
🚀 How to generate playground (+zip) from this README: [GENERATE.md](https://github.com/ochococo/Design-Patterns-In-Swift/blob/master/GENERATE.md)

docs/behavioral/iterator.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ struct Cart<T> {
1010
}
1111

1212
extension Cart: SequenceType {
13-
typealias Generator = GeneratorOf<T>
1413

1514
func generate() -> GeneratorOf<T> {
1615
var i = 0

0 commit comments

Comments
 (0)