We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75ae741 commit ace7f81Copy full SHA for ace7f81
Sources/Basics/Environment/Environment.swift
@@ -254,6 +254,9 @@ extension Environment: Collection {
254
var underlying: Dictionary<EnvironmentKey, String>.Index
255
}
256
public typealias Element = (key: EnvironmentKey, value: String)
257
+ // FIXME: Remove after upgrading past Swift 5.9
258
+ // Required to be explicitly spelled out on older Swift compilers.
259
+ public typealias Iterator = IndexingIterator<Self>
260
261
public var startIndex: Index {
262
Index(underlying: self.storage.startIndex)
0 commit comments