Minor: typo fix in Writer.buffered docs

This commit is contained in:
Wil
2019-02-28 21:26:53 -05:00
committed by Ilya Gorbunov
parent 4156a76129
commit d3ac50f694
@@ -19,7 +19,7 @@ import kotlin.internal.*
public inline fun Reader.buffered(bufferSize: Int = DEFAULT_BUFFER_SIZE): BufferedReader =
if (this is BufferedReader) this else BufferedReader(this, bufferSize)
/** Returns a buffered reader wrapping this Writer, or this Writer itself if it is already buffered. */
/** Returns a buffered writer wrapping this Writer, or this Writer itself if it is already buffered. */
@kotlin.internal.InlineOnly
public inline fun Writer.buffered(bufferSize: Int = DEFAULT_BUFFER_SIZE): BufferedWriter =
if (this is BufferedWriter) this else BufferedWriter(this, bufferSize)