We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb4085f + 2ec583f commit d1bc17cCopy full SHA for d1bc17c
CHANGELOG.md
@@ -36,13 +36,13 @@ Swift Next
36
func doStuff(_ stuff: @escaping () -> Void) {}
37
38
class C {
39
- var x = 0
40
-
41
- func method() {
42
- doStuff { [self] in
43
- x += 1
44
- }
+ var x = 0
+
+ func method() {
+ doStuff { [self] in
+ x += 1
45
}
+ }
46
47
```
48
@@ -199,7 +199,7 @@ Swift 5.2
199
A method override is no longer allowed to have a generic signature with
200
requirements not imposed by the base method. For example:
201
202
- ```
+ ```swift
203
protocol P {}
204
205
class Base {
0 commit comments