Skip to content

Commit

Permalink
Minor Kdoc update
Browse files Browse the repository at this point in the history
Follow up from Kotlin#1982. Since a `BufferedSink` is now required, no need to add this in the documentation.
  • Loading branch information
martinbonnin committed Jul 20, 2022
1 parent 83b6e33 commit d4acaa0
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -38,8 +38,6 @@ public fun <T> Json.encodeToBufferedSink(
/**
* Serializes given [value] to a [target] using UTF-8 encoding and serializer retrieved from the reified type parameter.
*
* If [target] is not a [BufferedSink] then called [Sink.buffer] for it to create buffered wrapper.
*
* @throws [SerializationException] if the given value cannot be serialized to JSON.
* @throws [okio.IOException] If an I/O error occurs and sink can't be written to.
*/
Expand Down

0 comments on commit d4acaa0

Please sign in to comment.