Remove @private from the stdlib.

@private can't safely be used with inlineable code at this time, which
unfortunately covers the entire standard library.

Swift SVN r19550
This commit is contained in:
Jordan Rose
2014-07-04 01:53:52 +00:00
parent f18dc4101f
commit cdd8532f33
3 changed files with 9 additions and 9 deletions

View File

@@ -346,7 +346,7 @@ extension String : Collection {
/// Returns the length of the first extended grapheme cluster in UTF-16
/// code units.
@private static func _measureExtendedGraphemeClusterForward(
static func _measureExtendedGraphemeClusterForward(
var start: UnicodeScalarView.IndexType
) -> Int {
let end = start._viewEndIndex
@@ -384,7 +384,7 @@ extension String : Collection {
/// Returns the length of the previous extended grapheme cluster in UTF-16
/// code units.
@private static func _measureExtendedGraphemeClusterBackward(
static func _measureExtendedGraphemeClusterBackward(
end: UnicodeScalarView.IndexType
) -> Int {
var start = end._viewStartIndex