[stdlib] Unwrap some lines shrunken by T*

Concision FTW!

Swift SVN r18232
This commit is contained in:
Dave Abrahams
2014-05-17 00:27:43 +00:00
parent b581365785
commit 46388dd5e2
3 changed files with 4 additions and 15 deletions

View File

@@ -164,9 +164,7 @@ struct ContiguousArrayBuffer<T> : ArrayBufferType, LogicValue {
/// Copy the given subRange of this buffer into uninitialized memory
/// starting at target. Return a pointer past-the-end of the
/// just-initialized memory.
func _uninitializedCopy(
subRange: Range<Int>, target: T*
) -> T* {
func _uninitializedCopy(subRange: Range<Int>, target: T*) -> T* {
_sanityCheck(subRange.startIndex >= 0)
_sanityCheck(subRange.endIndex >= subRange.startIndex)
_sanityCheck(subRange.endIndex <= count)