Skip to content

Commit e8afecf

Browse files
committed
refactor: change constructor for Data.
1 parent b501350 commit e8afecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/blake3-swift/blake3_swift.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ public final class Blake3 {
3232
}
3333

3434
public func finalizeData() -> Data {
35-
return Data(bytes: finalizeBytes())
35+
return Data(finalizeBytes())
3636
}
3737
}

0 commit comments

Comments
 (0)