mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Updated stdlib to use @discardableResult and _ = .
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user