Skip to content

Commit b574795

Browse files
authored
Merge pull request swiftlang#33608 from valeriyvan/Array-NSURL
2 parents faea5f0 + 84928c6 commit b574795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Array.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
/// let colors = ["periwinkle", "rose", "moss"]
265265
/// let moreColors: [String?] = ["ochre", "pine"]
266266
///
267-
/// let url = NSURL(fileURLWithPath: "names.plist")
267+
/// let url = URL(fileURLWithPath: "names.plist")
268268
/// (colors as NSArray).write(to: url, atomically: true)
269269
/// // true
270270
///

0 commit comments

Comments
 (0)