From 96e789098f6cb925ae85a6ba85789a890ce48dd0 Mon Sep 17 00:00:00 2001 From: Joshua Schwartz Date: Thu, 14 Jul 2022 14:06:41 -0500 Subject: [PATCH] Close parenthesis Also replace semicolon with comma to fix grammar. --- libraries/stdlib/jvm/src/kotlin/io/ReadWrite.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/stdlib/jvm/src/kotlin/io/ReadWrite.kt b/libraries/stdlib/jvm/src/kotlin/io/ReadWrite.kt index 08f199b7af6..84358cbdfa5 100644 --- a/libraries/stdlib/jvm/src/kotlin/io/ReadWrite.kt +++ b/libraries/stdlib/jvm/src/kotlin/io/ReadWrite.kt @@ -59,8 +59,8 @@ public inline fun String.reader(): StringReader = StringReader(this) * Returns a sequence of corresponding file lines. * * *Note*: the caller must close the underlying `BufferedReader` - * when the iteration is finished; as the user may not complete the iteration loop (e.g. using a method like find() or any() on the iterator - * may terminate the iteration early. + * when the iteration is finished, as the user may not complete the iteration loop (e.g. using a method like find() or any() on the iterator + * may terminate the iteration early). * * We suggest you try the method [useLines] instead which closes the stream when the processing is complete. *