Skip to content
Snippets Groups Projects
Commit 9c6d3f2b authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Refactor

parent c6e5e175
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!42Update Bindings
......@@ -4,7 +4,7 @@ import XCTestDynamicOverlay
public struct GetFactsFromContact {
public var run: (Data) throws -> [Fact]
public func callAsFunction(contact: Data) throws -> [Fact] {
public func callAsFunction(_ contact: Data) throws -> [Fact] {
try run(contact)
}
}
......
......@@ -4,7 +4,7 @@ import XCTestDynamicOverlay
public struct GetPublicKeyFromContact {
public var run: (Data) throws -> Data
public func callAsFunction(contact: Data) throws -> Data {
public func callAsFunction(_ contact: Data) throws -> Data {
try run(contact)
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment