From a0823282637034c974201d7f82f12eb5d46fe8d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gurhem?= <88328270+aneojgurhem@users.noreply.github.com> Date: Fri, 30 Aug 2024 23:44:24 +0200 Subject: [PATCH] fix typo in LINQ chapter --- src/linq/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linq/index.md b/src/linq/index.md index 7196515..1524289 100644 --- a/src/linq/index.md +++ b/src/linq/index.md @@ -219,7 +219,7 @@ then the output of the program will change radically: Int(5) dropped This time, values are acquired but not dropped while looping because each item -doesn't get owned by the interation loop's variable. The sum is printed ocne +doesn't get owned by the interation loop's variable. The sum is printed once the loop is done. Finally, when the `values` array that still owns all the the `Int` instances goes out of scope at the end of `main`, its dropping in turn drops all the `Int` instances.