Skip to content

Commit

Permalink
Update JSONEncoder.swift
Browse files Browse the repository at this point in the history
Corrent integer (Int).
  • Loading branch information
lamtrinhdev authored Jul 25, 2024
1 parent 30656d7 commit 58fc973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftProtobuf/JSONEncoder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ internal struct JSONEncoder {
}
}

/// Write an Enum as an int.
/// Write an Enum as an Int.
internal mutating func putEnumInt(value: Int) {
appendInt(value: Int64(value))
}
Expand Down

0 comments on commit 58fc973

Please sign in to comment.