Skip to content

Commit c0dbbfc

Browse files
committed
Fix documentation
Closes stephencelis#266
1 parent 47e109a commit c0dbbfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/Index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ For example, to give queries access to [`MobileCoreServices.UTTypeConformsTo`](h
13591359
``` swift
13601360
import MobileCoreServices
13611361

1362-
let typeConformsTo: (Expression<String>, String) -> Expression<Bool> = (
1362+
let typeConformsTo: (Expression<String>, Expression<String>) -> Expression<Bool> = (
13631363
try db.createFunction("typeConformsTo", deterministic: true) { UTI, conformsToUTI in
13641364
return UTTypeConformsTo(UTI, conformsToUTI)
13651365
}
@@ -1371,7 +1371,7 @@ let typeConformsTo: (Expression<String>, String) -> Expression<Bool> = (
13711371
Note `typeConformsTo`’s signature:
13721372

13731373
``` swift
1374-
(Expression<String>, String) -> Expression<Bool>
1374+
(Expression<String>, Expression<String>) -> Expression<Bool>
13751375
```
13761376

13771377
Because of this, `createFunction` expects a block with the following signature:

0 commit comments

Comments
 (0)