internal or public // @testable initializers

This commit is contained in:
Maxim Moiseev
2015-11-11 14:28:30 -08:00
committed by Max Moiseev
parent b580d55dfb
commit 9e50505970
22 changed files with 81 additions and 77 deletions

View File

@@ -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) {