mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] More RandomAccessCollection conformances
I missed a few the first time around.
This commit is contained in:
@@ -753,7 +753,7 @@ public struct DictionaryLiteral<Key, Value> : DictionaryLiteralConvertible {
|
||||
|
||||
/// `Collection` conformance that allows `DictionaryLiteral` to
|
||||
/// interoperate with the rest of the standard library.
|
||||
extension DictionaryLiteral : Collection {
|
||||
extension DictionaryLiteral : RandomAccessCollection {
|
||||
/// The position of the first element in a non-empty `DictionaryLiteral`.
|
||||
///
|
||||
/// Identical to `endIndex` in an empty `DictionaryLiteral`.
|
||||
|
||||
Reference in New Issue
Block a user