Updated stdlib to use @discardableResult and _ = .

This commit is contained in:
Trent Nadeau
2016-05-09 18:59:19 -04:00
parent 5455f8634b
commit 6e327b4ddb
24 changed files with 49 additions and 8 deletions

View File

@@ -29,6 +29,7 @@ public protocol _ArrayBufferProtocol
/// Copy the elements in `bounds` from this buffer into uninitialized
/// memory starting at `target`. Return a pointer past-the-end of the
/// just-initialized memory.
@discardableResult
func _copyContents(
subRange bounds: Range<Int>,
initializing target: UnsafeMutablePointer<Element>