Skip to content

Commit d1bc17c

Browse files
authored
Merge pull request swiftlang#31 from apple/master
[pull] swiftwasm from apple:master
2 parents fb4085f + 2ec583f commit d1bc17c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ Swift Next
3636
func doStuff(_ stuff: @escaping () -> Void) {}
3737

3838
class C {
39-
var x = 0
40-
41-
func method() {
42-
doStuff { [self] in
43-
x += 1
44-
}
39+
var x = 0
40+
41+
func method() {
42+
doStuff { [self] in
43+
x += 1
4544
}
45+
}
4646
}
4747
```
4848

@@ -199,7 +199,7 @@ Swift 5.2
199199
A method override is no longer allowed to have a generic signature with
200200
requirements not imposed by the base method. For example:
201201

202-
```
202+
```swift
203203
protocol P {}
204204

205205
class Base {

0 commit comments

Comments
 (0)