mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] Suppress some warnings
internal structs shouldn't have public members: nag, nag.
This commit is contained in:
@@ -240,7 +240,7 @@ extension UnicodeScalar {
|
||||
|
||||
extension UnicodeScalar.UTF16View : RandomAccessCollection {
|
||||
|
||||
public var indices: CountableRange<Int> {
|
||||
var indices: CountableRange<Int> {
|
||||
return startIndex..<endIndex
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user