Commit dad9c0b7 authored by Him188's avatar Him188

Fix docs

parent e3576fe5
...@@ -86,14 +86,12 @@ interface Message { ...@@ -86,14 +86,12 @@ interface Message {
* ```kotlin * ```kotlin
* val a = PlainText("Hello ") * val a = PlainText("Hello ")
* val b = PlainText("world!") * val b = PlainText("world!")
* val c:MessageChain = a + b * val c: CombinedMessage = a + b
* println(c)// "Hello world!" * println(c) // "Hello world!"
* ```
* *
* ```kotlin
* val d = PlainText("world!") * val d = PlainText("world!")
* val e = c + d;//PlainText + MessageChain * val e = c + d; // PlainText + CombinedMessage
* println(c)// "Hello world!" * println(c) // "Hello world!"
* ``` * ```
*/ */
@JvmSynthetic // in java they should use `plus` instead @JvmSynthetic // in java they should use `plus` instead
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment