From 5b53fa75677f6e4704bd8f2c9770ed61cb8c8e34 Mon Sep 17 00:00:00 2001 From: das-x <46007938+das-x@users.noreply.github.com> Date: Wed, 17 Sep 2025 08:47:23 -0400 Subject: [PATCH] Corrected a misspelling of 'once' --- src/language/streams-and-iterators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/language/streams-and-iterators.md b/src/language/streams-and-iterators.md index 77fd7a3..f590b64 100644 --- a/src/language/streams-and-iterators.md +++ b/src/language/streams-and-iterators.md @@ -295,7 +295,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.