Skip to content

Commit 38a6499

Browse files
authored
Fix typo in LINQ chapter (#69)
1 parent ef5cddf commit 38a6499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linq/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ then the output of the program will change radically:
219219
Int(5) dropped
220220

221221
This time, values are acquired but not dropped while looping because each item
222-
doesn't get owned by the interation loop's variable. The sum is printed ocne
222+
doesn't get owned by the interation loop's variable. The sum is printed once
223223
the loop is done. Finally, when the `values` array that still owns all the the
224224
`Int` instances goes out of scope at the end of `main`, its dropping in turn
225225
drops all the `Int` instances.

0 commit comments

Comments
 (0)