mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] StringProtocol no longer refines RangeReplaceableCollection
https://bugs.swift.org/browse/SR-5379
This commit is contained in:
@@ -14,7 +14,7 @@ import SwiftShims
|
||||
|
||||
/// A type that can represent a string as a collection of characters.
|
||||
public protocol StringProtocol
|
||||
: RangeReplaceableCollection, BidirectionalCollection,
|
||||
: BidirectionalCollection,
|
||||
TextOutputStream, TextOutputStreamable,
|
||||
LosslessStringConvertible, ExpressibleByStringLiteral,
|
||||
Hashable, Comparable
|
||||
|
||||
Reference in New Issue
Block a user