Skip to content

Commit 1f1e850

Browse files
author
Nathan Fallet
authored
Merge pull request #1151 from Gobans/patch-1
2 parents 7e525c2 + 607a37a commit 1f1e850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ into your Xcode project and added it to your application target), you can
308308
establish a _read-only_ connection to it.
309309

310310
```swift
311-
let path = Bundle.main.pathForResource("db", ofType: "sqlite3")!
311+
let path = Bundle.main.path(forResource: "db", ofType: "sqlite3")!
312312
313313
let db = try Connection(path, readonly: true)
314314
```

0 commit comments

Comments
 (0)