Skip to content

Commit

Permalink
Updated DigestExtensions to compile on Xcode 14 Beta
Browse files Browse the repository at this point in the history
  • Loading branch information
theedov committed Sep 6, 2022
1 parent eb649fa commit 1797d24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwifterSwift/CryptoKit/DigestExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public extension Digest {
/// SwifterSwift: Hexadecimal value string (read-only, Complexity: O(N), _N_ being the amount of bytes.)
var hexString: String {
var result = ""
for byte in self {
for byte in self.makeIterator() {
result += String(format: "%02X", byte)
}
return result
Expand Down

0 comments on commit 1797d24

Please sign in to comment.