Skip to content

Commit

Permalink
Minor Kdoc update (#1999)
Browse files Browse the repository at this point in the history
Follow up from #1982. Since a `BufferedSink` is now required, no need to add this in the documentation.
  • Loading branch information
martinbonnin authored Jul 21, 2022
1 parent 83b6e33 commit 16a85df
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
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 16a85df

Please sign in to comment.