Skip to content

Commit

Permalink
Fix demonstration of how to trace SQL statements in docs
Browse files Browse the repository at this point in the history
The old way shown causes a build error in swift 3 (XCode8):

  Ambiguous reference to member 'print(_:separator:terminator:)'
  • Loading branch information
eoinkelly committed Jun 16, 2017
1 parent 92db670 commit f24bc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/Index.md
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,7 @@ We can log SQL using the database’s `trace` function.
``` swift
#if DEBUG
db.trace(print)
db.trace { print($0) }
#endif
```
Expand Down

0 comments on commit f24bc5d

Please sign in to comment.