Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmorisi committed Aug 21, 2024
1 parent bde6014 commit 170786f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/includes/read/cursors.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 170786f

Please sign in to comment.