diff --git a/source/includes/read/cursors.kt b/source/includes/read/cursors.kt index 3642616..0034045 100644 --- a/source/includes/read/cursors.kt +++ b/source/includes/read/cursors.kt @@ -37,7 +37,7 @@ fun main() { // end-cursor-iterate // start-cursor-iterate-alternative - val result = collection.find() + val results = collection.find() results.cursor().use { cursor -> while (cursor.hasNext()) {