mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[stdlib] API naming guidelines applied to split and join
- `separator` label for first argument of `split` - `join` and related types are renamed to `joined`
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
// Test case submitted to project by https://github.com/tmu (Teemu Kurppa)
|
||||
// rdar://18174611
|
||||
|
||||
["ab", "cd"].join(separator: "")
|
||||
["ab", "cd"].joined(separator: "")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user