File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 9142644fa5ed9d9648c665bdf36a242a3b10c169
2
+ refs/heads/master: 071866ae5602fc0f1059d5ccc048b07be29b366c
3
3
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
4
4
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
5
5
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ CHANGELOG
6
6
7
7
| Contents |
8
8
| :--------------------- |
9
+ | [ Swift 5.1] ( #swift-51 ) |
9
10
| [ Swift 5.0] ( #swift-50 ) |
10
11
| [ Swift 4.2] ( #swift-42 ) |
11
12
| [ Swift 4.1] ( #swift-41 ) |
@@ -29,11 +30,13 @@ Swift 5.1
29
30
* Single-parameter functions accepting values of type ` Any ` are no
30
31
longer preferred over other functions.
31
32
32
- ``` swift
33
- func foo (_ : Any ) { print (" Any" ) }
34
- func foo <T >(_ : T) { print (" T" ) }
35
- foo (0 ) // prints "Any" in Swift < 5.1, "T" in Swift 5.1
36
- ```
33
+ ``` swift
34
+ func foo (_ : Any ) { print (" Any" ) }
35
+ func foo <T >(_ : T) { print (" T" ) }
36
+ foo (0 ) // prints "Any" in Swift < 5.1, "T" in Swift 5.1
37
+ ```
38
+
39
+ ** Add new entries to the top of this section, not here!**
37
40
38
41
Swift 5.0
39
42
---------
You can’t perform that action at this time.
0 commit comments