mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[gardening] Fix accidental trailing whitespace.
This commit is contained in:
@@ -205,7 +205,7 @@ internal class _AnyRandomAccessCollectionBox<Element>
|
||||
) rethrows -> _Any${Kind}Box<Element> {
|
||||
_abstract()
|
||||
}
|
||||
|
||||
|
||||
internal ${override} func _dropFirst(_ n: Int) -> _Any${Kind}Box<Element> {
|
||||
_abstract()
|
||||
}
|
||||
@@ -217,7 +217,7 @@ internal class _AnyRandomAccessCollectionBox<Element>
|
||||
internal ${override} func _prefix(_ maxLength: Int) -> _Any${Kind}Box<Element> {
|
||||
_abstract()
|
||||
}
|
||||
|
||||
|
||||
internal ${override} func _prefix(
|
||||
while predicate: (Element) throws -> Bool
|
||||
) rethrows -> _Any${Kind}Box<Element> {
|
||||
@@ -237,33 +237,33 @@ internal class _AnyRandomAccessCollectionBox<Element>
|
||||
|
||||
% if Kind == 'Collection':
|
||||
internal subscript(i: _AnyIndexBox) -> Element { _abstract() }
|
||||
|
||||
|
||||
internal func _index(after i: _AnyIndexBox) -> _AnyIndexBox { _abstract() }
|
||||
|
||||
|
||||
internal func _formIndex(after i: _AnyIndexBox) { _abstract() }
|
||||
|
||||
|
||||
internal func _index(
|
||||
_ i: _AnyIndexBox, offsetBy n: IntMax
|
||||
) -> _AnyIndexBox {
|
||||
_abstract()
|
||||
}
|
||||
|
||||
|
||||
internal func _index(
|
||||
_ i: _AnyIndexBox, offsetBy n: IntMax, limitedBy limit: _AnyIndexBox
|
||||
) -> _AnyIndexBox? {
|
||||
_abstract()
|
||||
}
|
||||
|
||||
|
||||
internal func _formIndex(_ i: inout _AnyIndexBox, offsetBy n: IntMax) {
|
||||
_abstract()
|
||||
}
|
||||
|
||||
|
||||
internal func _formIndex(
|
||||
_ i: inout _AnyIndexBox, offsetBy n: IntMax, limitedBy limit: _AnyIndexBox
|
||||
) -> Bool {
|
||||
_abstract()
|
||||
}
|
||||
|
||||
|
||||
internal func _distance(
|
||||
from start: _AnyIndexBox, to end: _AnyIndexBox
|
||||
) -> IntMax {
|
||||
@@ -807,7 +807,7 @@ public struct ${Self}<Element>
|
||||
|
||||
// public typealias Indices
|
||||
// = Default${Traversal.replace('Forward', '')}Indices<${Self}>
|
||||
|
||||
|
||||
internal init(_box: _${Self}Box<Element>) {
|
||||
self._box = _box
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user