Skip to content

Commit a5795e0

Browse files
author
Dave Abrahams
authored
Merge pull request #10012 from apple/nix-_Element
[stdlibunittest] _Element => Element
2 parents 169ffae + 5f0b33f commit a5795e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/private/StdlibCollectionUnittest/MinimalCollections.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ public struct ${Self}<Element> : ${SelfProtocols} {
973973
// FIXME: swift-3-indexing-model: use defaults.
974974
// if Self not in ['DefaultedCollection', 'DefaultedBidirectionalCollection', 'DefaultedRandomAccessCollection', 'DefaultedMutableCollection', 'DefaultedRangeReplaceableCollection']:
975975

976-
public subscript(bounds: Range<${Index}>) -> ${SelfSlice}<${Self}<Base._Element>> {
976+
public subscript(bounds: Range<${Index}>) -> ${SelfSlice}<${Self}<Base.Element>> {
977977
get {
978978
// FIXME: swift-3-indexing-model: range check.
979979
return ${SelfSlice}(base: self, bounds: bounds)

0 commit comments

Comments
 (0)