Skip to content

Commit b6f1f00

Browse files
committed
---
yaml --- r: 347121 b: refs/heads/master c: 071866a h: refs/heads/master i: 347119: 556d8a9
1 parent 14912a5 commit b6f1f00

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 9142644fa5ed9d9648c665bdf36a242a3b10c169
2+
refs/heads/master: 071866ae5602fc0f1059d5ccc048b07be29b366c
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/CHANGELOG.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CHANGELOG
66

77
| Contents |
88
| :--------------------- |
9+
| [Swift 5.1](#swift-51) |
910
| [Swift 5.0](#swift-50) |
1011
| [Swift 4.2](#swift-42) |
1112
| [Swift 4.1](#swift-41) |
@@ -29,11 +30,13 @@ Swift 5.1
2930
* Single-parameter functions accepting values of type `Any` are no
3031
longer preferred over other functions.
3132

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!**
3740

3841
Swift 5.0
3942
---------

0 commit comments

Comments
 (0)