Commit 45c996fd authored by Drew's avatar Drew

Make genericHash public

parent a60b036d
Pipeline #572 passed with stages
......@@ -9,7 +9,7 @@
import Foundation
extension Array {
var genericHash: [UInt8] {
public var genericHash: [UInt8] {
get {
precondition(Element.self == UInt8.self, "genericHash is only implemented for type UInt8, not \(Element.self)") //I'm not sure this works for other arrays
//sadly, we can't extend a particular one until Swift 3
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment