Skip to content

Commit

Permalink
Merge pull request swiftlang#2646 from rintaro/array-doc-appendconten…
Browse files Browse the repository at this point in the history
…tsof

[stdlib] Update documentation for renamed API
  • Loading branch information
gribozavr committed May 23, 2016
2 parents 409132c + ccb5b97 commit 1a0891c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stdlib/public/core/Arrays.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -1306,7 +1306,7 @@ extension ${Self} : RangeReplaceableCollection, _ArrayProtocol {
/// to an array of integers.
///
/// var numbers = [1, 2, 3, 4, 5]
/// numbers.appendContents(of: 10...15)
/// numbers.append(contentsOf: 10...15)
/// print(numbers)
/// // Prints "[1, 2, 3, 4, 5, 10, 11, 12, 13, 14, 15]"
///
Expand Down Expand Up @@ -1340,7 +1340,7 @@ extension ${Self} : RangeReplaceableCollection, _ArrayProtocol {
/// to an array of integers.
///
/// var numbers = [1, 2, 3, 4, 5]
/// numbers.appendContents(of: 10...15)
/// numbers.append(contentsOf: 10...15)
/// print(numbers)
/// // Prints "[1, 2, 3, 4, 5, 10, 11, 12, 13, 14, 15]"
///
Expand Down

0 comments on commit 1a0891c

Please sign in to comment.