Skip to content

Commit 55680ee

Browse files
authored
fix: correct LocalizedError conformance
1 parent b5aee64 commit 55680ee

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
@@ -25,7 +25,7 @@ struct RingBuffer<Element>: Sequence {
2525
enum Error: LocalizedError {
2626
case outOfBoundsPush(pushIndex: Array<Element?>.Index, endIndex: Array<Element?>.Index)
2727

28-
var errorDescription: String {
28+
var errorDescription: String? {
2929
switch self {
3030
case let .outOfBoundsPush(pushIndex, endIndex):
3131
return "Out-of-bounds push at index \(pushIndex) to ring buffer with" +

0 commit comments

Comments
 (0)