stdlib: protocol extensions: de-underscore last

Swift SVN r28243
This commit is contained in:
Dmitri Hrybenko
2015-05-07 00:30:32 +00:00
parent d790954154
commit 25e74d21db
7 changed files with 8 additions and 25 deletions

View File

@@ -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()]
}
}