diff --git a/Documentation/Index.md b/Documentation/Index.md index ddd20b42..07bb5f33 100644 --- a/Documentation/Index.md +++ b/Documentation/Index.md @@ -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 ```