mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: protocol extensions: de-underscore last
Swift SVN r28243
This commit is contained in:
@@ -34,7 +34,7 @@ extension CollectionType {
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
extension CollectionType where Index : BidirectionalIndexType {
|
||||
final public var _prext_last: Generator.Element? {
|
||||
final public var last: Generator.Element? {
|
||||
return isEmpty ? nil : self[endIndex.predecessor()]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user