Fix DatabaseWriter.readFromCurrentState documentation

This commit is contained in:
Gwendal Roué authored and GitHub committed 2018-07-13 09:45:59 +02:00
1 parent 5bcc95ce87
commit d4590ff91f
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ public protocol DatabaseWriter : DatabaseReader {
///
/// For example:
///
/// try writer.write { db in
/// try writer.writeWithoutTransaction { db in
/// try db.execute("DELETE FROM player")
/// try writer.readFromCurrentState { db in
/// // Guaranteed to be zero