mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user