mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
internal or public // @testable initializers
This commit is contained in:
committed by
Max Moiseev
parent
b580d55dfb
commit
9e50505970
@@ -31,11 +31,11 @@ extension String {
|
||||
/// encode a `String` .
|
||||
public struct UnicodeScalarView : Collection, _Reflectable,
|
||||
CustomStringConvertible, CustomDebugStringConvertible {
|
||||
init(_ _core: _StringCore) {
|
||||
internal init(_ _core: _StringCore) {
|
||||
self._core = _core
|
||||
}
|
||||
|
||||
struct _ScratchIterator : IteratorProtocol {
|
||||
internal struct _ScratchIterator : IteratorProtocol {
|
||||
var core: _StringCore
|
||||
var idx: Int
|
||||
init(_ core: _StringCore, _ pos: Int) {
|
||||
|
||||
Reference in New Issue
Block a user