Skip to content

Commit 7ea7274

Browse files
authored
[CoreInternal] Add explicit generics typing for Array.Index usage (#10075)
1 parent 72dee10 commit 7ea7274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseCore/Internal/Sources/HeartbeatLogging/RingBuffer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct RingBuffer<Element>: Sequence {
3232
/// An array of heartbeats treated as a circular queue and intialized with a fixed capacity.
3333
private var circularQueue: [Element?]
3434
/// The current "tail" and insert point for the `circularQueue`.
35-
private var tailIndex: Array.Index
35+
private var tailIndex: Array<Element?>.Index
3636

3737
/// Designated initializer.
3838
/// - Parameter capacity: An `Int` representing the capacity.

0 commit comments

Comments
 (0)